diff --git a/adsense/v2/adsense-api.json b/adsense/v2/adsense-api.json index 1ec216d227a..976d5d07d7f 100644 --- a/adsense/v2/adsense-api.json +++ b/adsense/v2/adsense-api.json @@ -971,6 +971,7 @@ "AD_UNIT_SIZE_CODE", "CUSTOM_CHANNEL_NAME", "CUSTOM_CHANNEL_ID", + "HOSTED_CUSTOM_CHANNEL_ID", "OWNED_SITE_DOMAIN_NAME", "OWNED_SITE_ID", "PAGE_URL", @@ -1021,6 +1022,7 @@ "The size code of an ad unit (e.g. \"728x90\", \"responsive\").", "Custom channel name. The members of this dimension match the values from CustomChannel.display_name.", "Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting_dimension_id.", + "Unique ID of a hosted client's custom channel.", "Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.", "Unique ID of a verified site. The members of this dimension match the values from Site.reporting_dimension_id.", "URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see [Page URL breakdown](https://support.google.com/adsense/answer/11988478).", @@ -1291,6 +1293,7 @@ "AD_UNIT_SIZE_CODE", "CUSTOM_CHANNEL_NAME", "CUSTOM_CHANNEL_ID", + "HOSTED_CUSTOM_CHANNEL_ID", "OWNED_SITE_DOMAIN_NAME", "OWNED_SITE_ID", "PAGE_URL", @@ -1341,6 +1344,7 @@ "The size code of an ad unit (e.g. \"728x90\", \"responsive\").", "Custom channel name. The members of this dimension match the values from CustomChannel.display_name.", "Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting_dimension_id.", + "Unique ID of a hosted client's custom channel.", "Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.", "Unique ID of a verified site. The members of this dimension match the values from Site.reporting_dimension_id.", "URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see [Page URL breakdown](https://support.google.com/adsense/answer/11988478).", @@ -1912,7 +1916,7 @@ } } }, - "revision": "20241203", + "revision": "20241211", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { diff --git a/adsense/v2/adsense-gen.go b/adsense/v2/adsense-gen.go index 6e51862ebca..f7a31951a5c 100644 --- a/adsense/v2/adsense-gen.go +++ b/adsense/v2/adsense-gen.go @@ -4722,6 +4722,10 @@ func (c *AccountsReportsGenerateCall) DateRange(dateRange string) *AccountsRepor // // dimension match the values from CustomChannel.reporting_dimension_id. // +// "HOSTED_CUSTOM_CHANNEL_ID" - Unique ID of a hosted client's custom +// +// channel. +// // "OWNED_SITE_DOMAIN_NAME" - Domain name of a verified site (e.g. // // "example.com"). The members of this dimension match the values from @@ -5303,6 +5307,10 @@ func (c *AccountsReportsGenerateCsvCall) DateRange(dateRange string) *AccountsRe // // dimension match the values from CustomChannel.reporting_dimension_id. // +// "HOSTED_CUSTOM_CHANNEL_ID" - Unique ID of a hosted client's custom +// +// channel. +// // "OWNED_SITE_DOMAIN_NAME" - Domain name of a verified site (e.g. // // "example.com"). The members of this dimension match the values from diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index 5f1a776dbf8..ddb1644f237 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -2439,7 +2439,7 @@ } } }, - "revision": "20241011", + "revision": "20241205", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -4145,6 +4145,11 @@ "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.", "type": "string" }, + "registryUri": { + "description": "Output only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/my-repo`.", + "readOnly": true, + "type": "string" + }, "remoteRepositoryConfig": { "$ref": "RemoteRepositoryConfig", "description": "Configuration specific for a Remote Repository." diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 6553061eb1c..410cb41a5c8 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -2681,6 +2681,9 @@ type Repository struct { // `projects/p1/locations/us-central1/repositories/repo1`. For each location in // a project, repository names must be unique. Name string `json:"name,omitempty"` + // RegistryUri: Output only. The repository endpoint, for example: + // `us-docker.pkg.dev/my-proj/my-repo`. + RegistryUri string `json:"registryUri,omitempty"` // RemoteRepositoryConfig: Configuration specific for a Remote Repository. RemoteRepositoryConfig *RemoteRepositoryConfig `json:"remoteRepositoryConfig,omitempty"` // SatisfiesPzi: Output only. If set, the repository satisfies physical zone diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index 8fe1d05f966..ced8a20004b 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20241107", + "revision": "20241206", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -700,7 +700,8 @@ "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", - "IRS_1075" + "IRS_1075", + "CANADA_CONTROLLED_GOODS" ], "enumDeprecated": [ false, @@ -726,6 +727,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -752,7 +754,8 @@ "Assured Workloads for Regional Controls", "Healthcare and Life Science Controls", "Healthcare and Life Science Controls with US Support", - "Internal Revenue Service 1075 controls" + "Internal Revenue Service 1075 controls", + "Canada Controlled Goods" ], "type": "string" }, @@ -1215,7 +1218,8 @@ "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", - "IRS_1075" + "IRS_1075", + "CANADA_CONTROLLED_GOODS" ], "enumDeprecated": [ false, @@ -1241,6 +1245,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -1267,7 +1272,8 @@ "Assured Workloads for Regional Controls", "Healthcare and Life Science Controls", "Healthcare and Life Science Controls with US Support", - "Internal Revenue Service 1075 controls" + "Internal Revenue Service 1075 controls", + "Canada Controlled Goods" ], "type": "string" }, @@ -1476,7 +1482,7 @@ "type": "string" }, "ekmProvisioningState": { - "description": "Indicates Ekm enrollment Provisioning of a given workload.", + "description": "Output only. Indicates Ekm enrollment Provisioning of a given workload.", "enum": [ "EKM_PROVISIONING_STATE_UNSPECIFIED", "EKM_PROVISIONING_STATE_PENDING", @@ -1489,6 +1495,7 @@ "Failed State for Ekm Provisioning", "Completed State for Ekm Provisioning" ], + "readOnly": true, "type": "string" } }, @@ -1525,7 +1532,7 @@ "type": "boolean" }, "dataLogsViewer": { - "description": "Allow the partner to view inspectability logs and monitoring violations.", + "description": "Optional. Allow the partner to view inspectability logs and monitoring violations.", "type": "boolean" }, "serviceAccessApprover": { @@ -1540,8 +1547,9 @@ "id": "GoogleCloudAssuredworkloadsV1WorkloadResourceInfo", "properties": { "resourceId": { - "description": "Resource identifier. For a project this represents project_number.", + "description": "Output only. Resource identifier. For a project this represents project_number.", "format": "int64", + "readOnly": true, "type": "string" }, "resourceType": { @@ -1638,7 +1646,7 @@ "type": "array" }, "setupStatus": { - "description": "Indicates SAA enrollment status of a given workload.", + "description": "Output only. Indicates SAA enrollment status of a given workload.", "enum": [ "SETUP_STATE_UNSPECIFIED", "STATUS_PENDING", @@ -1649,6 +1657,7 @@ "SAA enrollment pending.", "SAA enrollment comopleted." ], + "readOnly": true, "type": "string" } }, diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 89b7abf4459..96678f1d4dd 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -355,6 +355,7 @@ type GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata struct { // "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT" - Healthcare and Life // Science Controls with US Support // "IRS_1075" - Internal Revenue Service 1075 controls + // "CANADA_CONTROLLED_GOODS" - Canada Controlled Goods ComplianceRegime string `json:"complianceRegime,omitempty"` // CreateTime: Optional. Time when the operation was created. CreateTime string `json:"createTime,omitempty"` @@ -896,6 +897,7 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT" - Healthcare and Life // Science Controls with US Support // "IRS_1075" - Internal Revenue Service 1075 controls + // "CANADA_CONTROLLED_GOODS" - Canada Controlled Goods ComplianceRegime string `json:"complianceRegime,omitempty"` // ComplianceStatus: Output only. Count of active Violations in the Workload. ComplianceStatus *GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus `json:"complianceStatus,omitempty"` @@ -1081,8 +1083,8 @@ type GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse struct { // "MISSING_EKM_CONNECTION_ADMIN_PERMISSION" - Iam permission // cloudkms.ekmConnectionsAdmin wasn't applied. EkmProvisioningErrorMapping string `json:"ekmProvisioningErrorMapping,omitempty"` - // EkmProvisioningState: Indicates Ekm enrollment Provisioning of a given - // workload. + // EkmProvisioningState: Output only. Indicates Ekm enrollment Provisioning of + // a given workload. // // Possible values: // "EKM_PROVISIONING_STATE_UNSPECIFIED" - Default State for Ekm Provisioning @@ -1146,8 +1148,8 @@ type GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions struct { // AssuredWorkloadsMonitoring: Optional. Allow partner to view violation // alerts. AssuredWorkloadsMonitoring bool `json:"assuredWorkloadsMonitoring,omitempty"` - // DataLogsViewer: Allow the partner to view inspectability logs and monitoring - // violations. + // DataLogsViewer: Optional. Allow the partner to view inspectability logs and + // monitoring violations. DataLogsViewer bool `json:"dataLogsViewer,omitempty"` // ServiceAccessApprover: Optional. Allow partner to view access approval logs. ServiceAccessApprover bool `json:"serviceAccessApprover,omitempty"` @@ -1174,7 +1176,7 @@ func (s GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions) MarshalJSON() ( // GoogleCloudAssuredworkloadsV1WorkloadResourceInfo: Represent the resources // that are children of this Workload. type GoogleCloudAssuredworkloadsV1WorkloadResourceInfo struct { - // ResourceId: Resource identifier. For a project this represents + // ResourceId: Output only. Resource identifier. For a project this represents // project_number. ResourceId int64 `json:"resourceId,omitempty,string"` // ResourceType: Indicates the type of resource. @@ -1264,7 +1266,8 @@ type GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse struct { // "ERROR_SETUP_CHECK_FAILED" - Returned when exception was encountered // during evaluation of other criteria. SetupErrors []string `json:"setupErrors,omitempty"` - // SetupStatus: Indicates SAA enrollment status of a given workload. + // SetupStatus: Output only. Indicates SAA enrollment status of a given + // workload. // // Possible values: // "SETUP_STATE_UNSPECIFIED" - Unspecified. diff --git a/assuredworkloads/v1beta1/assuredworkloads-api.json b/assuredworkloads/v1beta1/assuredworkloads-api.json index 6ad585c7b4e..4ededaebd09 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-api.json +++ b/assuredworkloads/v1beta1/assuredworkloads-api.json @@ -656,7 +656,7 @@ } } }, - "revision": "20241107", + "revision": "20241206", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -824,7 +824,8 @@ "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", - "IRS_1075" + "IRS_1075", + "CANADA_CONTROLLED_GOODS" ], "enumDeprecated": [ false, @@ -850,6 +851,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -876,7 +878,8 @@ "Assured Workloads for Regional Controls", "Healthcare and Life Science Controls", "Healthcare and Life Science Controls with US Support", - "Internal Revenue Service 1075 controls" + "Internal Revenue Service 1075 controls", + "Canada Controlled Goods" ], "type": "string" }, @@ -1458,7 +1461,8 @@ "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", - "IRS_1075" + "IRS_1075", + "CANADA_CONTROLLED_GOODS" ], "enumDeprecated": [ false, @@ -1484,6 +1488,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -1510,7 +1515,8 @@ "Assured Workloads for Regional Controls", "Healthcare and Life Science Controls", "Healthcare and Life Science Controls with US Support", - "Internal Revenue Service 1075 controls" + "Internal Revenue Service 1075 controls", + "Canada Controlled Goods" ], "type": "string" }, @@ -1751,7 +1757,7 @@ "type": "string" }, "ekmProvisioningState": { - "description": "Indicates Ekm enrollment Provisioning of a given workload.", + "description": "Output only. Indicates Ekm enrollment Provisioning of a given workload.", "enum": [ "EKM_PROVISIONING_STATE_UNSPECIFIED", "EKM_PROVISIONING_STATE_PENDING", @@ -1764,6 +1770,7 @@ "Failed State for Ekm Provisioning", "Completed State for Ekm Provisioning" ], + "readOnly": true, "type": "string" } }, @@ -1836,7 +1843,7 @@ "type": "boolean" }, "dataLogsViewer": { - "description": "Allow the partner to view inspectability logs and monitoring violations.", + "description": "Optional. Allow the partner to view inspectability logs and monitoring violations.", "type": "boolean" }, "serviceAccessApprover": { @@ -1851,8 +1858,9 @@ "id": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo", "properties": { "resourceId": { - "description": "Resource identifier. For a project this represents project_number.", + "description": "Output only. Resource identifier. For a project this represents project_number.", "format": "int64", + "readOnly": true, "type": "string" }, "resourceType": { @@ -1949,7 +1957,7 @@ "type": "array" }, "setupStatus": { - "description": "Indicates SAA enrollment status of a given workload.", + "description": "Output only. Indicates SAA enrollment status of a given workload.", "enum": [ "SETUP_STATE_UNSPECIFIED", "STATUS_PENDING", @@ -1960,6 +1968,7 @@ "SAA enrollment pending.", "SAA enrollment comopleted." ], + "readOnly": true, "type": "string" } }, diff --git a/assuredworkloads/v1beta1/assuredworkloads-gen.go b/assuredworkloads/v1beta1/assuredworkloads-gen.go index e3e80e4c349..6ace2cf5b43 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-gen.go +++ b/assuredworkloads/v1beta1/assuredworkloads-gen.go @@ -448,6 +448,7 @@ type GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata struct { // "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT" - Healthcare and Life // Science Controls with US Support // "IRS_1075" - Internal Revenue Service 1075 controls + // "CANADA_CONTROLLED_GOODS" - Canada Controlled Goods ComplianceRegime string `json:"complianceRegime,omitempty"` // CreateTime: Optional. Time when the operation was created. CreateTime string `json:"createTime,omitempty"` @@ -1147,6 +1148,7 @@ type GoogleCloudAssuredworkloadsV1beta1Workload struct { // "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT" - Healthcare and Life // Science Controls with US Support // "IRS_1075" - Internal Revenue Service 1075 controls + // "CANADA_CONTROLLED_GOODS" - Canada Controlled Goods ComplianceRegime string `json:"complianceRegime,omitempty"` // ComplianceStatus: Output only. Count of active Violations in the Workload. ComplianceStatus *GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus `json:"complianceStatus,omitempty"` @@ -1369,8 +1371,8 @@ type GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse struct { // "MISSING_EKM_CONNECTION_ADMIN_PERMISSION" - Iam permission // cloudkms.ekmConnectionsAdmin wasn't applied. EkmProvisioningErrorMapping string `json:"ekmProvisioningErrorMapping,omitempty"` - // EkmProvisioningState: Indicates Ekm enrollment Provisioning of a given - // workload. + // EkmProvisioningState: Output only. Indicates Ekm enrollment Provisioning of + // a given workload. // // Possible values: // "EKM_PROVISIONING_STATE_UNSPECIFIED" - Default State for Ekm Provisioning @@ -1506,8 +1508,8 @@ type GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions struct { // AssuredWorkloadsMonitoring: Optional. Allow partner to view violation // alerts. AssuredWorkloadsMonitoring bool `json:"assuredWorkloadsMonitoring,omitempty"` - // DataLogsViewer: Allow the partner to view inspectability logs and monitoring - // violations. + // DataLogsViewer: Optional. Allow the partner to view inspectability logs and + // monitoring violations. DataLogsViewer bool `json:"dataLogsViewer,omitempty"` // ServiceAccessApprover: Optional. Allow partner to view access approval logs. ServiceAccessApprover bool `json:"serviceAccessApprover,omitempty"` @@ -1534,7 +1536,7 @@ func (s GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions) MarshalJSO // GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo: Represent the // resources that are children of this Workload. type GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo struct { - // ResourceId: Resource identifier. For a project this represents + // ResourceId: Output only. Resource identifier. For a project this represents // project_number. ResourceId int64 `json:"resourceId,omitempty,string"` // ResourceType: Indicates the type of resource. @@ -1624,7 +1626,8 @@ type GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse struct { // "ERROR_SETUP_CHECK_FAILED" - Returned when exception was encountered // during evaluation of other criteria. SetupErrors []string `json:"setupErrors,omitempty"` - // SetupStatus: Indicates SAA enrollment status of a given workload. + // SetupStatus: Output only. Indicates SAA enrollment status of a given + // workload. // // Possible values: // "SETUP_STATE_UNSPECIFIED" - Unspecified. diff --git a/classroom/v1/classroom-api.json b/classroom/v1/classroom-api.json index aa351112ea5..8b9db308f1f 100644 --- a/classroom/v1/classroom-api.json +++ b/classroom/v1/classroom-api.json @@ -2,6 +2,12 @@ "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/classroom.addons.student": { + "description": "See and update its own attachments to posts in Google Classroom" + }, + "https://www.googleapis.com/auth/classroom.addons.teacher": { + "description": "See, create, and update its own attachments to posts in classes you teach in Google Classroom" + }, "https://www.googleapis.com/auth/classroom.announcements": { "description": "View and manage announcements in Google Classroom" }, @@ -590,7 +596,11 @@ "path": "v1/courses/{courseId}/announcements/{itemId}/addOnContext", "response": { "$ref": "AddOnContext" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "list": { "description": "Returns a list of announcements that the requester is permitted to view. Course students may only view `PUBLISHED` announcements. Course teachers and domain administrators may view all announcements. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", @@ -769,7 +779,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "delete": { "description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -810,7 +823,10 @@ "path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", "response": { "$ref": "Empty" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "get": { "description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -851,7 +867,11 @@ "path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "list": { "description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -896,7 +916,11 @@ "path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", "response": { "$ref": "ListAddOnAttachmentsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "patch": { "description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -945,7 +969,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] } } } @@ -1087,7 +1114,11 @@ "path": "v1/courses/{courseId}/courseWork/{itemId}/addOnContext", "response": { "$ref": "AddOnContext" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "list": { "description": "Returns a list of course work that the requester is permitted to view. Course students may only view `PUBLISHED` course work. Course teachers and domain administrators may view all course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", @@ -1225,7 +1256,7 @@ ] }, "updateRubric": { - "description": "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.", + "description": "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.", "flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubric", "httpMethod": "PATCH", "id": "classroom.courses.courseWork.updateRubric", @@ -1313,7 +1344,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "delete": { "description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -1354,7 +1388,10 @@ "path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", "response": { "$ref": "Empty" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "get": { "description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -1395,7 +1432,11 @@ "path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "list": { "description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -1440,7 +1481,11 @@ "path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", "response": { "$ref": "ListAddOnAttachmentsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "patch": { "description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -1489,7 +1534,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] } }, "resources": { @@ -1543,6 +1591,8 @@ "$ref": "AddOnAttachmentStudentSubmission" }, "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher", "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly" ] }, @@ -1601,7 +1651,10 @@ }, "response": { "$ref": "AddOnAttachmentStudentSubmission" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] } } } @@ -1610,7 +1663,7 @@ "rubrics": { "methods": { "create": { - "description": "Creates a rubric. This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations). This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course or course work don't exist or the user doesn't have access to the course or course work. * `FAILED_PRECONDITION` for the following request error: * `AttachmentNotVisible`", + "description": "Creates a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course or course work don't exist or the user doesn't have access to the course or course work. * `FAILED_PRECONDITION` for the following request error: * `AttachmentNotVisible`", "flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", "httpMethod": "POST", "id": "classroom.courses.courseWork.rubrics.create", @@ -1644,7 +1697,7 @@ ] }, "delete": { - "description": "Deletes a rubric. This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or the user does not have access to the course, course work, or rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric.", + "description": "Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or the user does not have access to the course, course work, or rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric.", "flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", "httpMethod": "DELETE", "id": "classroom.courses.courseWork.rubrics.delete", @@ -1768,7 +1821,7 @@ ] }, "patch": { - "description": "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.", + "description": "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.", "flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", "httpMethod": "PATCH", "id": "classroom.courses.courseWork.rubrics.patch", @@ -2301,7 +2354,11 @@ "path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnContext", "response": { "$ref": "AddOnContext" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "list": { "description": "Returns a list of course work material that the requester is permitted to view. Course students may only view `PUBLISHED` course work material. Course teachers and domain administrators may view all course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", @@ -2456,7 +2513,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "delete": { "description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2497,7 +2557,10 @@ "path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", "response": { "$ref": "Empty" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "get": { "description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2538,7 +2601,11 @@ "path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "list": { "description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2583,7 +2650,11 @@ "path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", "response": { "$ref": "ListAddOnAttachmentsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "patch": { "description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2632,7 +2703,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] } } } @@ -2681,7 +2755,11 @@ "path": "v1/courses/{courseId}/posts/{postId}/addOnContext", "response": { "$ref": "AddOnContext" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] } }, "resources": { @@ -2726,7 +2804,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "delete": { "description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2766,7 +2847,10 @@ "path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", "response": { "$ref": "Empty" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "get": { "description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2806,7 +2890,11 @@ "path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "list": { "description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2850,7 +2938,11 @@ "path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments", "response": { "$ref": "ListAddOnAttachmentsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] }, "patch": { "description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", @@ -2899,7 +2991,10 @@ }, "response": { "$ref": "AddOnAttachment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] } }, "resources": { @@ -2952,6 +3047,8 @@ "$ref": "AddOnAttachmentStudentSubmission" }, "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher", "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly" ] }, @@ -3009,7 +3106,10 @@ }, "response": { "$ref": "AddOnAttachmentStudentSubmission" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/classroom.addons.teacher" + ] } } } @@ -3949,7 +4049,7 @@ } } }, - "revision": "20241119", + "revision": "20241208", "rootUrl": "https://classroom.googleapis.com/", "schemas": { "AddOnAttachment": { diff --git a/classroom/v1/classroom-gen.go b/classroom/v1/classroom-gen.go index acfb8ebd4a6..92433aae7fa 100644 --- a/classroom/v1/classroom-gen.go +++ b/classroom/v1/classroom-gen.go @@ -100,6 +100,13 @@ const mtlsBasePath = "https://classroom.mtls.googleapis.com/" // OAuth2 scopes used by this API. const ( + // See and update its own attachments to posts in Google Classroom + ClassroomAddonsStudentScope = "https://www.googleapis.com/auth/classroom.addons.student" + + // See, create, and update its own attachments to posts in classes you teach in + // Google Classroom + ClassroomAddonsTeacherScope = "https://www.googleapis.com/auth/classroom.addons.teacher" + // View and manage announcements in Google Classroom ClassroomAnnouncementsScope = "https://www.googleapis.com/auth/classroom.announcements" @@ -174,6 +181,8 @@ const ( // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { scopesOption := internaloption.WithDefaultScopes( + "https://www.googleapis.com/auth/classroom.addons.student", + "https://www.googleapis.com/auth/classroom.addons.teacher", "https://www.googleapis.com/auth/classroom.announcements", "https://www.googleapis.com/auth/classroom.announcements.readonly", "https://www.googleapis.com/auth/classroom.courses", @@ -6842,8 +6851,11 @@ type CoursesCourseWorkUpdateRubricCall struct { // UpdateRubric: Updates a rubric. See google.classroom.v1.Rubric for details // of which fields can be updated. Rubric update capabilities are limited -// (/classroom/rubrics/limitations) once grading has started. This request must -// be made by the Google Cloud console of the OAuth client ID +// (/classroom/rubrics/limitations) once grading has started. The requesting +// user and course owner must have rubrics creation capabilities. For details, +// see licensing requirements +// (https://developers.google.com/classroom/rubrics/limitations#license-requirements). +// This request must be made by the Google Cloud console of the OAuth client ID // (https://support.google.com/cloud/answer/6158849) used to create the parent // course work item. This method returns the following error codes: * // `PERMISSION_DENIED` if the requesting developer project didn't create the @@ -7929,19 +7941,21 @@ type CoursesCourseWorkRubricsCreateCall struct { header_ http.Header } -// Create: Creates a rubric. This request must be made by the Google Cloud -// console of the OAuth client ID +// Create: Creates a rubric. The requesting user and course owner must have +// rubrics creation capabilities. For details, see licensing requirements +// (https://developers.google.com/classroom/rubrics/limitations#license-requirements). +// For further details, see Rubrics structure and known limitations +// (/classroom/rubrics/limitations). This request must be made by the Google +// Cloud console of the OAuth client ID // (https://support.google.com/cloud/answer/6158849) used to create the parent -// course work item. For further details, see Rubrics structure and known -// limitations (/classroom/rubrics/limitations). This method returns the -// following error codes: * `PERMISSION_DENIED` if the requesting user isn't -// permitted to create rubrics for course work in the requested course. * -// `INTERNAL` if the request has insufficient OAuth scopes. * -// `INVALID_ARGUMENT` if the request is malformed and for the following request -// error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course -// or course work don't exist or the user doesn't have access to the course or -// course work. * `FAILED_PRECONDITION` for the following request error: * -// `AttachmentNotVisible` +// course work item. This method returns the following error codes: * +// `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics +// for course work in the requested course. * `INTERNAL` if the request has +// insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed +// and for the following request error: * `RubricCriteriaInvalidFormat` * +// `NOT_FOUND` if the requested course or course work don't exist or the user +// doesn't have access to the course or course work. * `FAILED_PRECONDITION` +// for the following request error: * `AttachmentNotVisible` // // - courseId: Identifier of the course. // - courseWorkId: Identifier of the course work. @@ -8046,8 +8060,10 @@ type CoursesCourseWorkRubricsDeleteCall struct { header_ http.Header } -// Delete: Deletes a rubric. This request must be made by the Google Cloud -// console of the OAuth client ID +// Delete: Deletes a rubric. The requesting user and course owner must have +// rubrics creation capabilities. For details, see licensing requirements +// (https://developers.google.com/classroom/rubrics/limitations#license-requirements). +// This request must be made by the Google Cloud console of the OAuth client ID // (https://support.google.com/cloud/answer/6158849) used to create the // corresponding rubric. This method returns the following error codes: * // `PERMISSION_DENIED` if the requesting developer project didn't create the @@ -8433,8 +8449,11 @@ type CoursesCourseWorkRubricsPatchCall struct { // Patch: Updates a rubric. See google.classroom.v1.Rubric for details of which // fields can be updated. Rubric update capabilities are limited -// (/classroom/rubrics/limitations) once grading has started. This request must -// be made by the Google Cloud console of the OAuth client ID +// (/classroom/rubrics/limitations) once grading has started. The requesting +// user and course owner must have rubrics creation capabilities. For details, +// see licensing requirements +// (https://developers.google.com/classroom/rubrics/limitations#license-requirements). +// This request must be made by the Google Cloud console of the OAuth client ID // (https://support.google.com/cloud/answer/6158849) used to create the parent // course work item. This method returns the following error codes: * // `PERMISSION_DENIED` if the requesting developer project didn't create the diff --git a/cloudasset/v1/cloudasset-api.json b/cloudasset/v1/cloudasset-api.json index 68557fc58d4..b5bc71a905e 100644 --- a/cloudasset/v1/cloudasset-api.json +++ b/cloudasset/v1/cloudasset-api.json @@ -1095,7 +1095,7 @@ } } }, - "revision": "20241115", + "revision": "20241211", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -2871,6 +2871,10 @@ "egressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" @@ -2962,6 +2966,10 @@ "ingressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index e7f1300ac31..2d85986f19d 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -3041,6 +3041,11 @@ type GoogleIdentityAccesscontextmanagerV1EgressPolicy struct { // EgressTo: Defines the conditions on the ApiOperation and destination // resources that cause this EgressPolicy to apply. EgressTo *GoogleIdentityAccesscontextmanagerV1EgressTo `json:"egressTo,omitempty"` + // Title: Optional. Human-readable title for the egress rule. The title must be + // unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -3200,6 +3205,11 @@ type GoogleIdentityAccesscontextmanagerV1IngressPolicy struct { // IngressTo: Defines the conditions on the ApiOperation and request // destination that cause this IngressPolicy to apply. IngressTo *GoogleIdentityAccesscontextmanagerV1IngressTo `json:"ingressTo,omitempty"` + // Title: Optional. Human-readable title for the ingress rule. The title must + // be unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "IngressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/cloudasset/v1beta1/cloudasset-api.json b/cloudasset/v1beta1/cloudasset-api.json index 1319a8bd431..c69ef22165c 100644 --- a/cloudasset/v1beta1/cloudasset-api.json +++ b/cloudasset/v1beta1/cloudasset-api.json @@ -411,7 +411,7 @@ } } }, - "revision": "20241115", + "revision": "20241211", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -1181,6 +1181,10 @@ "egressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" @@ -1272,6 +1276,10 @@ "ingressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" diff --git a/cloudasset/v1beta1/cloudasset-gen.go b/cloudasset/v1beta1/cloudasset-gen.go index 6dc67ac7990..943e6c24918 100644 --- a/cloudasset/v1beta1/cloudasset-gen.go +++ b/cloudasset/v1beta1/cloudasset-gen.go @@ -1486,6 +1486,11 @@ type GoogleIdentityAccesscontextmanagerV1EgressPolicy struct { // EgressTo: Defines the conditions on the ApiOperation and destination // resources that cause this EgressPolicy to apply. EgressTo *GoogleIdentityAccesscontextmanagerV1EgressTo `json:"egressTo,omitempty"` + // Title: Optional. Human-readable title for the egress rule. The title must be + // unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -1645,6 +1650,11 @@ type GoogleIdentityAccesscontextmanagerV1IngressPolicy struct { // IngressTo: Defines the conditions on the ApiOperation and request // destination that cause this IngressPolicy to apply. IngressTo *GoogleIdentityAccesscontextmanagerV1IngressTo `json:"ingressTo,omitempty"` + // Title: Optional. Human-readable title for the ingress rule. The title must + // be unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "IngressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/cloudasset/v1p1beta1/cloudasset-api.json b/cloudasset/v1p1beta1/cloudasset-api.json index 58debd5f84f..f8a9dc2fb3e 100644 --- a/cloudasset/v1p1beta1/cloudasset-api.json +++ b/cloudasset/v1p1beta1/cloudasset-api.json @@ -207,7 +207,7 @@ } } }, - "revision": "20241115", + "revision": "20241211", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -883,6 +883,10 @@ "egressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" @@ -974,6 +978,10 @@ "ingressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" diff --git a/cloudasset/v1p1beta1/cloudasset-gen.go b/cloudasset/v1p1beta1/cloudasset-gen.go index 818ada63913..ab4e58fd9f6 100644 --- a/cloudasset/v1p1beta1/cloudasset-gen.go +++ b/cloudasset/v1p1beta1/cloudasset-gen.go @@ -1297,6 +1297,11 @@ type GoogleIdentityAccesscontextmanagerV1EgressPolicy struct { // EgressTo: Defines the conditions on the ApiOperation and destination // resources that cause this EgressPolicy to apply. EgressTo *GoogleIdentityAccesscontextmanagerV1EgressTo `json:"egressTo,omitempty"` + // Title: Optional. Human-readable title for the egress rule. The title must be + // unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -1456,6 +1461,11 @@ type GoogleIdentityAccesscontextmanagerV1IngressPolicy struct { // IngressTo: Defines the conditions on the ApiOperation and request // destination that cause this IngressPolicy to apply. IngressTo *GoogleIdentityAccesscontextmanagerV1IngressTo `json:"ingressTo,omitempty"` + // Title: Optional. Human-readable title for the ingress rule. The title must + // be unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "IngressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/cloudasset/v1p5beta1/cloudasset-api.json b/cloudasset/v1p5beta1/cloudasset-api.json index ebf43b77993..3b2c84b1b1d 100644 --- a/cloudasset/v1p5beta1/cloudasset-api.json +++ b/cloudasset/v1p5beta1/cloudasset-api.json @@ -177,7 +177,7 @@ } } }, - "revision": "20241115", + "revision": "20241211", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -888,6 +888,10 @@ "egressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" @@ -979,6 +983,10 @@ "ingressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" diff --git a/cloudasset/v1p5beta1/cloudasset-gen.go b/cloudasset/v1p5beta1/cloudasset-gen.go index 4ead190c758..0b9d79ebe4e 100644 --- a/cloudasset/v1p5beta1/cloudasset-gen.go +++ b/cloudasset/v1p5beta1/cloudasset-gen.go @@ -1331,6 +1331,11 @@ type GoogleIdentityAccesscontextmanagerV1EgressPolicy struct { // EgressTo: Defines the conditions on the ApiOperation and destination // resources that cause this EgressPolicy to apply. EgressTo *GoogleIdentityAccesscontextmanagerV1EgressTo `json:"egressTo,omitempty"` + // Title: Optional. Human-readable title for the egress rule. The title must be + // unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -1490,6 +1495,11 @@ type GoogleIdentityAccesscontextmanagerV1IngressPolicy struct { // IngressTo: Defines the conditions on the ApiOperation and request // destination that cause this IngressPolicy to apply. IngressTo *GoogleIdentityAccesscontextmanagerV1IngressTo `json:"ingressTo,omitempty"` + // Title: Optional. Human-readable title for the ingress rule. The title must + // be unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "IngressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/cloudasset/v1p7beta1/cloudasset-api.json b/cloudasset/v1p7beta1/cloudasset-api.json index 3a6eeed53f9..99c291714c4 100644 --- a/cloudasset/v1p7beta1/cloudasset-api.json +++ b/cloudasset/v1p7beta1/cloudasset-api.json @@ -167,7 +167,7 @@ } } }, - "revision": "20241115", + "revision": "20241211", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -957,6 +957,10 @@ "egressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" @@ -1048,6 +1052,10 @@ "ingressTo": { "$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." + }, + "title": { + "description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", + "type": "string" } }, "type": "object" diff --git a/cloudasset/v1p7beta1/cloudasset-gen.go b/cloudasset/v1p7beta1/cloudasset-gen.go index a4b94ae8eb2..882ef93031a 100644 --- a/cloudasset/v1p7beta1/cloudasset-gen.go +++ b/cloudasset/v1p7beta1/cloudasset-gen.go @@ -1507,6 +1507,11 @@ type GoogleIdentityAccesscontextmanagerV1EgressPolicy struct { // EgressTo: Defines the conditions on the ApiOperation and destination // resources that cause this EgressPolicy to apply. EgressTo *GoogleIdentityAccesscontextmanagerV1EgressTo `json:"egressTo,omitempty"` + // Title: Optional. Human-readable title for the egress rule. The title must be + // unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -1666,6 +1671,11 @@ type GoogleIdentityAccesscontextmanagerV1IngressPolicy struct { // IngressTo: Defines the conditions on the ApiOperation and request // destination that cause this IngressPolicy to apply. IngressTo *GoogleIdentityAccesscontextmanagerV1IngressTo `json:"ingressTo,omitempty"` + // Title: Optional. Human-readable title for the ingress rule. The title must + // be unique within the perimeter and can not exceed 100 characters. Within the + // access policy, the combined length of all rule titles must not exceed + // 240,000 characters. + Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "IngressFrom") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/cloudbuild/v1/cloudbuild-api.json b/cloudbuild/v1/cloudbuild-api.json index 49b196172b8..2745acbb0e2 100644 --- a/cloudbuild/v1/cloudbuild-api.json +++ b/cloudbuild/v1/cloudbuild-api.json @@ -15,6 +15,233 @@ "description": "Creates and manages builds on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/cloud-build/docs/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east10.rep.googleapis.com/", + "location": "us-east10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west8.rep.googleapis.com/", + "location": "us-west8" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -167,7 +394,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "cloudbuild.operations.cancel", @@ -1552,7 +1779,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "cloudbuild.projects.locations.operations.cancel", @@ -2346,7 +2573,7 @@ } } }, - "revision": "20241025", + "revision": "20241210", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -4578,7 +4805,7 @@ "type": "string" }, "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "readOnly": true, "type": "boolean" }, diff --git a/cloudbuild/v1/cloudbuild-gen.go b/cloudbuild/v1/cloudbuild-gen.go index 0caceaf83d5..b015912efcc 100644 --- a/cloudbuild/v1/cloudbuild-gen.go +++ b/cloudbuild/v1/cloudbuild-gen.go @@ -3111,8 +3111,8 @@ type OperationMetadata struct { ApiVersion string `json:"apiVersion,omitempty"` // CancelRequested: Output only. Identifies whether the user has requested // cancellation of the operation. Operations that have been cancelled - // successfully have Operation.error value with a google.rpc.Status.code of 1, - // corresponding to `Code.CANCELLED`. + // successfully have google.longrunning.Operation.error value with a + // google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. CancelRequested bool `json:"cancelRequested,omitempty"` // CreateTime: Output only. The time the operation was created. CreateTime string `json:"createTime,omitempty"` @@ -4607,7 +4607,7 @@ type OperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -9401,7 +9401,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/cloudbuild/v2/cloudbuild-api.json b/cloudbuild/v2/cloudbuild-api.json index 5ca32730228..9e8a57a79b5 100644 --- a/cloudbuild/v2/cloudbuild-api.json +++ b/cloudbuild/v2/cloudbuild-api.json @@ -15,6 +15,233 @@ "description": "Creates and manages builds on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/cloud-build/docs/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east10.rep.googleapis.com/", + "location": "us-east10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudbuild.us-west8.rep.googleapis.com/", + "location": "us-west8" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -785,7 +1012,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "cloudbuild.projects.locations.operations.cancel", @@ -844,7 +1071,7 @@ } } }, - "revision": "20240731", + "revision": "20241210", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "AuditConfig": { @@ -1736,7 +1963,7 @@ "type": "string" }, "cancelRequested": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "readOnly": true, "type": "boolean" }, diff --git a/cloudbuild/v2/cloudbuild-gen.go b/cloudbuild/v2/cloudbuild-gen.go index 43eea4a9177..408e680073e 100644 --- a/cloudbuild/v2/cloudbuild-gen.go +++ b/cloudbuild/v2/cloudbuild-gen.go @@ -1447,8 +1447,8 @@ type OperationMetadata struct { ApiVersion string `json:"apiVersion,omitempty"` // CancelRequested: Output only. Identifies whether the user has requested // cancellation of the operation. Operations that have been cancelled - // successfully have Operation.error value with a google.rpc.Status.code of 1, - // corresponding to `Code.CANCELLED`. + // successfully have google.longrunning.Operation.error value with a + // google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. CancelRequested bool `json:"cancelRequested,omitempty"` // CreateTime: Output only. The time the operation was created. CreateTime string `json:"createTime,omitempty"` @@ -5415,7 +5415,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/cloudidentity/v1/cloudidentity-api.json b/cloudidentity/v1/cloudidentity-api.json index e4356dc5c99..b402aabe2c3 100644 --- a/cloudidentity/v1/cloudidentity-api.json +++ b/cloudidentity/v1/cloudidentity-api.json @@ -23,6 +23,12 @@ "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly": { "description": "See all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization." }, + "https://www.googleapis.com/auth/cloud-identity.policies": { + "description": "See and edit policies in your Cloud Identity Organization." + }, + "https://www.googleapis.com/auth/cloud-identity.policies.readonly": { + "description": "See policies in your Cloud Identity Organization." + }, "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } @@ -2014,9 +2020,72 @@ ] } } + }, + "policies": { + "methods": { + "get": { + "description": "Get a Policy", + "flatPath": "v1/policies/{policiesId}", + "httpMethod": "GET", + "id": "cloudidentity.policies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the policy to retrieve. Format: \"policies/{policy}\".", + "location": "path", + "pattern": "^policies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-identity.policies", + "https://www.googleapis.com/auth/cloud-identity.policies.readonly" + ] + }, + "list": { + "description": "List Policies", + "flatPath": "v1/policies", + "httpMethod": "GET", + "id": "cloudidentity.policies.list", + "parameterOrder": [], + "parameters": { + "filter": { + "description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.name = 'settings/gmail.*' Policies can be filtered by setting type with this expression: setting.name = '*.service_status' A maximum of one of the above setting.name clauses can be used. Policies can be filtered by customer with this expression: customer = \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `\u0026\u0026` operator.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. `page_size` values greater than 100 default to 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The pagination token received from a prior call to PoliciesService.ListPolicies to retrieve the next page of results. When paginating, all other parameters provided to `ListPoliciesRequest` must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/policies", + "response": { + "$ref": "ListPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-identity.policies", + "https://www.googleapis.com/auth/cloud-identity.policies.readonly" + ] + } + } } }, - "revision": "20241126", + "revision": "20241208", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -3607,6 +3676,24 @@ }, "type": "object" }, + "ListPoliciesResponse": { + "description": "The response message for PoliciesService.ListPolicies.", + "id": "ListPoliciesResponse", + "properties": { + "nextPageToken": { + "description": "The pagination token to retrieve the next page of results. If this field is empty, there are no subsequent pages.", + "type": "string" + }, + "policies": { + "description": "The results", + "items": { + "$ref": "Policy" + }, + "type": "array" + } + }, + "type": "object" + }, "ListUserInvitationsResponse": { "description": "Response message for UserInvitation listing request.", "id": "ListUserInvitationsResponse", @@ -3960,6 +4047,70 @@ }, "type": "object" }, + "Policy": { + "description": "A Policy resource binds an instance of a single Setting with the scope of a PolicyQuery. The Setting instance will be applied to all entities that satisfy the query.", + "id": "Policy", + "properties": { + "customer": { + "description": "Immutable. Customer that the Policy belongs to. The value is in the format 'customers/{customerId}'. The `customerId` must begin with \"C\" To find your customer ID in Admin Console see https://support.google.com/a/answer/10070793.", + "type": "string" + }, + "name": { + "description": "Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy}.", + "readOnly": true, + "type": "string" + }, + "policyQuery": { + "$ref": "PolicyQuery", + "description": "Required. The PolicyQuery the Setting applies to." + }, + "setting": { + "$ref": "Setting", + "description": "Required. The Setting configured by this Policy." + }, + "type": { + "description": "Output only. The type of the policy.", + "enum": [ + "POLICY_TYPE_UNSPECIFIED", + "SYSTEM", + "ADMIN" + ], + "enumDescriptions": [ + "Unspecified policy type.", + "Policy type denoting the system-configured policies.", + "Policy type denoting the admin-configurable policies." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "PolicyQuery": { + "description": "PolicyQuery", + "id": "PolicyQuery", + "properties": { + "group": { + "description": "Immutable. The group that the query applies to. This field is only set if there is a single value for group that satisfies all clauses of the query. If no group applies, this will be the empty string.", + "type": "string" + }, + "orgUnit": { + "description": "Required. Immutable. Non-empty default. The OrgUnit the query applies to. This field is only set if there is a single value for org_unit that satisfies all clauses of the query.", + "type": "string" + }, + "query": { + "description": "Immutable. The CEL query that defines which entities the Policy applies to (ex. a User entity). For details about CEL see https://opensource.google.com/projects/cel. The OrgUnits the Policy applies to are represented by a clause like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy applies to are represented by a clause like so: entity.groups.exists(group, group.group_id == groupId('{groupId}')) The Licenses the Policy applies to are represented by a clause like so: entity.licenses.exists(license, license in ['/product/{productId}/sku/{skuId}']) The above clauses can be present in any combination, and used in conjunction with the \u0026\u0026, || and ! operators. The org_unit and group fields below are helper fields that contain the corresponding value(s) as the query to make the query easier to use.", + "type": "string" + }, + "sortOrder": { + "description": "Output only. The decimal sort order of this PolicyQuery. The value is relative to all other policies with the same setting type for the customer. (There are no duplicates within this set).", + "format": "double", + "readOnly": true, + "type": "number" + } + }, + "type": "object" + }, "RestrictionEvaluation": { "description": "The evaluated state of this restriction.", "id": "RestrictionEvaluation", @@ -4154,6 +4305,25 @@ "properties": {}, "type": "object" }, + "Setting": { + "description": "Setting", + "id": "Setting", + "properties": { + "type": { + "description": "Required. Immutable. The type of the Setting. .", + "type": "string" + }, + "value": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. The value of the Setting.", + "type": "object" + } + }, + "type": "object" + }, "SignInBehavior": { "description": "Controls sign-in behavior.", "id": "SignInBehavior", diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index 966ec5f4bf2..a70b1dc852d 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -126,6 +126,12 @@ const ( // or Google Groups in your Cloud Identity Organization. CloudIdentityInboundssoReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly" + // See and edit policies in your Cloud Identity Organization. + CloudIdentityPoliciesScope = "https://www.googleapis.com/auth/cloud-identity.policies" + + // See policies in your Cloud Identity Organization. + CloudIdentityPoliciesReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.policies.readonly" + // See, edit, configure, and delete your Google Cloud data and see the email // address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" @@ -141,6 +147,8 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-identity.inboundsso", "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", + "https://www.googleapis.com/auth/cloud-identity.policies", + "https://www.googleapis.com/auth/cloud-identity.policies.readonly", "https://www.googleapis.com/auth/cloud-platform", ) // NOTE: prepend, so we don't override user-specified scopes. @@ -178,6 +186,7 @@ func New(client *http.Client) (*Service, error) { s.Groups = NewGroupsService(s) s.InboundSamlSsoProfiles = NewInboundSamlSsoProfilesService(s) s.InboundSsoAssignments = NewInboundSsoAssignmentsService(s) + s.Policies = NewPoliciesService(s) return s, nil } @@ -195,6 +204,8 @@ type Service struct { InboundSamlSsoProfiles *InboundSamlSsoProfilesService InboundSsoAssignments *InboundSsoAssignmentsService + + Policies *PoliciesService } func (s *Service) userAgent() string { @@ -309,6 +320,15 @@ type InboundSsoAssignmentsService struct { s *Service } +func NewPoliciesService(s *Service) *PoliciesService { + rs := &PoliciesService{s: s} + return rs +} + +type PoliciesService struct { + s *Service +} + // AddIdpCredentialOperationMetadata: LRO response metadata for // InboundSamlSsoProfilesService.AddIdpCredential. type AddIdpCredentialOperationMetadata struct { @@ -2224,6 +2244,34 @@ func (s ListMembershipsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ListPoliciesResponse: The response message for PoliciesService.ListPolicies. +type ListPoliciesResponse struct { + // NextPageToken: The pagination token to retrieve the next page of results. If + // this field is empty, there are no subsequent pages. + NextPageToken string `json:"nextPageToken,omitempty"` + // Policies: The results + Policies []*Policy `json:"policies,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "NextPageToken") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ListPoliciesResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListPoliciesResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // ListUserInvitationsResponse: Response message for UserInvitation listing // request. type ListUserInvitationsResponse struct { @@ -2683,6 +2731,110 @@ func (s Operation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// Policy: A Policy resource binds an instance of a single Setting with the +// scope of a PolicyQuery. The Setting instance will be applied to all entities +// that satisfy the query. +type Policy struct { + // Customer: Immutable. Customer that the Policy belongs to. The value is in + // the format 'customers/{customerId}'. The `customerId` must begin with "C" To + // find your customer ID in Admin Console see + // https://support.google.com/a/answer/10070793. + Customer string `json:"customer,omitempty"` + // Name: Output only. Identifier. The resource name + // (https://cloud.google.com/apis/design/resource_names) of the Policy. Format: + // policies/{policy}. + Name string `json:"name,omitempty"` + // PolicyQuery: Required. The PolicyQuery the Setting applies to. + PolicyQuery *PolicyQuery `json:"policyQuery,omitempty"` + // Setting: Required. The Setting configured by this Policy. + Setting *Setting `json:"setting,omitempty"` + // Type: Output only. The type of the policy. + // + // Possible values: + // "POLICY_TYPE_UNSPECIFIED" - Unspecified policy type. + // "SYSTEM" - Policy type denoting the system-configured policies. + // "ADMIN" - Policy type denoting the admin-configurable policies. + Type string `json:"type,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "Customer") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Customer") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s Policy) MarshalJSON() ([]byte, error) { + type NoMethod Policy + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// PolicyQuery: PolicyQuery +type PolicyQuery struct { + // Group: Immutable. The group that the query applies to. This field is only + // set if there is a single value for group that satisfies all clauses of the + // query. If no group applies, this will be the empty string. + Group string `json:"group,omitempty"` + // OrgUnit: Required. Immutable. Non-empty default. The OrgUnit the query + // applies to. This field is only set if there is a single value for org_unit + // that satisfies all clauses of the query. + OrgUnit string `json:"orgUnit,omitempty"` + // Query: Immutable. The CEL query that defines which entities the Policy + // applies to (ex. a User entity). For details about CEL see + // https://opensource.google.com/projects/cel. The OrgUnits the Policy applies + // to are represented by a clause like so: entity.org_units.exists(org_unit, + // org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy + // applies to are represented by a clause like so: entity.groups.exists(group, + // group.group_id == groupId('{groupId}')) The Licenses the Policy applies to + // are represented by a clause like so: entity.licenses.exists(license, license + // in ['/product/{productId}/sku/{skuId}']) The above clauses can be present in + // any combination, and used in conjunction with the &&, || and ! operators. + // The org_unit and group fields below are helper fields that contain the + // corresponding value(s) as the query to make the query easier to use. + Query string `json:"query,omitempty"` + // SortOrder: Output only. The decimal sort order of this PolicyQuery. The + // value is relative to all other policies with the same setting type for the + // customer. (There are no duplicates within this set). + SortOrder float64 `json:"sortOrder,omitempty"` + // ForceSendFields is a list of field names (e.g. "Group") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Group") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s PolicyQuery) MarshalJSON() ([]byte, error) { + type NoMethod PolicyQuery + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +func (s *PolicyQuery) UnmarshalJSON(data []byte) error { + type NoMethod PolicyQuery + var s1 struct { + SortOrder gensupport.JSONFloat64 `json:"sortOrder"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.SortOrder = float64(s1.SortOrder) + return nil +} + // RestrictionEvaluation: The evaluated state of this restriction. type RestrictionEvaluation struct { // State: Output only. The current state of the restriction @@ -2997,6 +3149,30 @@ func (s SecuritySettings) MarshalJSON() ([]byte, error) { type SendUserInvitationRequest struct { } +// Setting: Setting +type Setting struct { + // Type: Required. Immutable. The type of the Setting. . + Type string `json:"type,omitempty"` + // Value: Required. The value of the Setting. + Value googleapi.RawMessage `json:"value,omitempty"` + // ForceSendFields is a list of field names (e.g. "Type") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Type") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s Setting) MarshalJSON() ([]byte, error) { + type NoMethod Setting + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // SignInBehavior: Controls sign-in behavior. type SignInBehavior struct { // RedirectCondition: When to redirect sign-ins to the IdP. @@ -10196,3 +10372,267 @@ func (c *InboundSsoAssignmentsPatchCall) Do(opts ...googleapi.CallOption) (*Oper } return ret, nil } + +type PoliciesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Get a Policy +// +// - name: The name of the policy to retrieve. Format: "policies/{policy}". +func (r *PoliciesService) Get(name string) *PoliciesGetCall { + c := &PoliciesGetCall{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 +// details. +func (c *PoliciesGetCall) Fields(s ...googleapi.Field) *PoliciesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an 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. +func (c *PoliciesGetCall) IfNoneMatch(entityTag string) *PoliciesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *PoliciesGetCall) Context(ctx context.Context) *PoliciesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *PoliciesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + 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 "cloudidentity.policies.get" call. +// Any non-2xx status code is an error. Response headers are in either +// *Policy.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 *PoliciesGetCall) Do(opts ...googleapi.CallOption) (*Policy, 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 := &Policy{ + 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 +} + +type PoliciesListCall struct { + s *Service + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: List Policies +func (r *PoliciesService) List() *PoliciesListCall { + c := &PoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + return c +} + +// Filter sets the optional parameter "filter": A CEL expression for filtering +// the results. Policies can be filtered by application with this expression: +// setting.name = 'settings/gmail.*' Policies can be filtered by setting type +// with this expression: setting.name = '*.service_status' A maximum of one of +// the above setting.name clauses can be used. Policies can be filtered by +// customer with this expression: customer = "customers/{customer}" Where +// `customer` is the `id` from the Admin SDK `Customer` resource +// (https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). +// You may use `customers/my_customer` to specify your own organization. When +// no customer is mentioned it will be default to customers/my_customer. A +// maximum of one customer clause can be used. The above clauses can only be +// combined together in a single filter expression with the `&&` operator. +func (c *PoliciesListCall) Filter(filter string) *PoliciesListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number of +// results to return. The service can return fewer than this number. If omitted +// or set to 0, the default is 50 results per page. The maximum allowed value +// is 100. `page_size` values greater than 100 default to 100. +func (c *PoliciesListCall) PageSize(pageSize int64) *PoliciesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The pagination token +// received from a prior call to PoliciesService.ListPolicies to retrieve the +// next page of results. When paginating, all other parameters provided to +// `ListPoliciesRequest` must match the call that provided the page token. +func (c *PoliciesListCall) PageToken(pageToken string) *PoliciesListCall { + 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 +// details. +func (c *PoliciesListCall) Fields(s ...googleapi.Field) *PoliciesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an 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. +func (c *PoliciesListCall) IfNoneMatch(entityTag string) *PoliciesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *PoliciesListCall) Context(ctx context.Context) *PoliciesListCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *PoliciesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *PoliciesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + 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/policies") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "cloudidentity.policies.list" call. +// Any non-2xx status code is an error. Response headers are in either +// *ListPoliciesResponse.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 *PoliciesListCall) Do(opts ...googleapi.CallOption) (*ListPoliciesResponse, 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 := &ListPoliciesResponse{ + 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 +} + +// 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 *PoliciesListCall) Pages(ctx context.Context, f func(*ListPoliciesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + 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) + } +} diff --git a/cloudidentity/v1beta1/cloudidentity-api.json b/cloudidentity/v1beta1/cloudidentity-api.json index f7f2033ee09..7b2fa6a4578 100644 --- a/cloudidentity/v1beta1/cloudidentity-api.json +++ b/cloudidentity/v1beta1/cloudidentity-api.json @@ -23,6 +23,12 @@ "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly": { "description": "See all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization." }, + "https://www.googleapis.com/auth/cloud-identity.orgunits": { + "description": "List, Move orgmembers of an OrgUnit in your Cloud Identity Organization." + }, + "https://www.googleapis.com/auth/cloud-identity.orgunits.readonly": { + "description": "List org members of an OrgUnit in your Cloud Identity Organization." + }, "https://www.googleapis.com/auth/cloud-identity.policies": { "description": "See and edit policies in your Cloud Identity Organization." }, @@ -2015,7 +2021,11 @@ "path": "v1beta1/{+parent}/memberships", "response": { "$ref": "ListOrgMembershipsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-identity.orgunits", + "https://www.googleapis.com/auth/cloud-identity.orgunits.readonly" + ] }, "move": { "description": "Move an OrgMembership to a new OrgUnit. NOTE: This is an atomic copy-and-delete. The resource will have a new copy under the destination OrgUnit and be deleted from the source OrgUnit. The resource can only be searched under the destination OrgUnit afterwards.", @@ -2040,7 +2050,10 @@ }, "response": { "$ref": "Operation" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-identity.orgunits" + ] } } } @@ -2110,7 +2123,7 @@ } } }, - "revision": "20241126", + "revision": "20241208", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 99ce148811a..c21712e22a8 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -126,6 +126,12 @@ const ( // or Google Groups in your Cloud Identity Organization. CloudIdentityInboundssoReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly" + // List, Move orgmembers of an OrgUnit in your Cloud Identity Organization. + CloudIdentityOrgunitsScope = "https://www.googleapis.com/auth/cloud-identity.orgunits" + + // List org members of an OrgUnit in your Cloud Identity Organization. + CloudIdentityOrgunitsReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.orgunits.readonly" + // See and edit policies in your Cloud Identity Organization. CloudIdentityPoliciesScope = "https://www.googleapis.com/auth/cloud-identity.policies" @@ -147,6 +153,8 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-identity.inboundsso", "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", + "https://www.googleapis.com/auth/cloud-identity.orgunits", + "https://www.googleapis.com/auth/cloud-identity.orgunits.readonly", "https://www.googleapis.com/auth/cloud-identity.policies", "https://www.googleapis.com/auth/cloud-identity.policies.readonly", "https://www.googleapis.com/auth/cloud-platform", diff --git a/cloudscheduler/v1/cloudscheduler-api.json b/cloudscheduler/v1/cloudscheduler-api.json index f1d4748182e..b829937bf6a 100644 --- a/cloudscheduler/v1/cloudscheduler-api.json +++ b/cloudscheduler/v1/cloudscheduler-api.json @@ -108,7 +108,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "cloudscheduler.operations.cancel", @@ -529,7 +529,7 @@ } } }, - "revision": "20241113", + "revision": "20241203", "rootUrl": "https://cloudscheduler.googleapis.com/", "schemas": { "AppEngineHttpTarget": { diff --git a/cloudscheduler/v1/cloudscheduler-gen.go b/cloudscheduler/v1/cloudscheduler-gen.go index ecadd8bd6de..83348d5b339 100644 --- a/cloudscheduler/v1/cloudscheduler-gen.go +++ b/cloudscheduler/v1/cloudscheduler-gen.go @@ -1022,7 +1022,7 @@ type OperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/config/v1/config-api.json b/config/v1/config-api.json index d7f5e953b33..6d3cd686456 100644 --- a/config/v1/config-api.json +++ b/config/v1/config-api.json @@ -816,7 +816,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "config.projects.locations.operations.cancel", @@ -1187,7 +1187,7 @@ } } }, - "revision": "20241106", + "revision": "20241205", "rootUrl": "https://config.googleapis.com/", "schemas": { "ApplyResults": { @@ -1708,7 +1708,7 @@ "type": "string" }, "previews": { - "description": "List of Previewss.", + "description": "List of Previews.", "items": { "$ref": "Preview" }, @@ -1733,7 +1733,7 @@ "type": "string" }, "resources": { - "description": "List of Resourcess.", + "description": "List of Resources.", "items": { "$ref": "Resource" }, @@ -1939,7 +1939,7 @@ "readOnly": true }, "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "readOnly": true, "type": "boolean" }, diff --git a/config/v1/config-gen.go b/config/v1/config-gen.go index f60a3418654..80e69639585 100644 --- a/config/v1/config-gen.go +++ b/config/v1/config-gen.go @@ -940,7 +940,7 @@ type ListPreviewsResponse struct { // NextPageToken: Token to be supplied to the next ListPreviews request via // `page_token` to obtain the next set of results. NextPageToken string `json:"nextPageToken,omitempty"` - // Previews: List of Previewss. + // Previews: List of Previews. Previews []*Preview `json:"previews,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` @@ -972,7 +972,7 @@ type ListResourcesResponse struct { // 'ListResources' method. The value of an empty string means that there are no // more resources to return. NextPageToken string `json:"nextPageToken,omitempty"` - // Resources: List of Resourcess. + // Resources: List of Resources. Resources []*Resource `json:"resources,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` @@ -1201,8 +1201,8 @@ type OperationMetadata struct { PreviewMetadata *PreviewOperationMetadata `json:"previewMetadata,omitempty"` // RequestedCancellation: Output only. Identifies whether the user has // requested cancellation of the operation. Operations that have successfully - // been cancelled have Operation.error value with a google.rpc.Status.code of - // 1, corresponding to `Code.CANCELLED`. + // been cancelled have google.longrunning.Operation.error value with a + // google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. RequestedCancellation bool `json:"requestedCancellation,omitempty"` // StatusMessage: Output only. Human-readable status of the operation, if any. StatusMessage string `json:"statusMessage,omitempty"` @@ -4659,7 +4659,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/contactcenterinsights/v1/contactcenterinsights-api.json b/contactcenterinsights/v1/contactcenterinsights-api.json index 32418fc8944..91b82b6a2a0 100644 --- a/contactcenterinsights/v1/contactcenterinsights-api.json +++ b/contactcenterinsights/v1/contactcenterinsights-api.json @@ -476,36 +476,6 @@ "resources": { "authorizedViews": { "methods": { - "calculateStats": { - "description": "Gets conversation statistics.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:calculateStats", - "httpMethod": "GET", - "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.calculateStats", - "parameterOrder": [ - "location" - ], - "parameters": { - "filter": { - "description": "A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.", - "location": "query", - "type": "string" - }, - "location": { - "description": "Required. The location of the conversations.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+location}:calculateStats", - "response": { - "$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "queryMetrics": { "description": "Query metrics.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:queryMetrics", @@ -534,6 +504,42 @@ "https://www.googleapis.com/auth/cloud-platform" ] } + }, + "resources": { + "conversations": { + "methods": { + "calculateStats": { + "description": "Gets conversation statistics.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations:calculateStats", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats", + "parameterOrder": [ + "location" + ], + "parameters": { + "filter": { + "description": "A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.", + "location": "query", + "type": "string" + }, + "location": { + "description": "Required. The location of the conversations.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}/conversations:calculateStats", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } } } } @@ -2575,7 +2581,7 @@ } } }, - "revision": "20241204", + "revision": "20241209", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -4605,7 +4611,12 @@ "GoogleCloudContactcenterinsightsV1ImportIssueModelResponse": { "description": "Response from import issue model", "id": "GoogleCloudContactcenterinsightsV1ImportIssueModelResponse", - "properties": {}, + "properties": { + "issueModel": { + "$ref": "GoogleCloudContactcenterinsightsV1IssueModel", + "description": "The issue model that was imported." + } + }, "type": "object" }, "GoogleCloudContactcenterinsightsV1IngestConversationsMetadata": { @@ -8236,7 +8247,12 @@ "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse": { "description": "Response from import issue model", "id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse", - "properties": {}, + "properties": { + "issueModel": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel", + "description": "The issue model that was imported." + } + }, "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata": { diff --git a/contactcenterinsights/v1/contactcenterinsights-gen.go b/contactcenterinsights/v1/contactcenterinsights-gen.go index a2096a7471d..65215c740a0 100644 --- a/contactcenterinsights/v1/contactcenterinsights-gen.go +++ b/contactcenterinsights/v1/contactcenterinsights-gen.go @@ -228,11 +228,23 @@ type ProjectsLocationsAuthorizedViewSetsService struct { func NewProjectsLocationsAuthorizedViewSetsAuthorizedViewsService(s *Service) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsService { rs := &ProjectsLocationsAuthorizedViewSetsAuthorizedViewsService{s: s} + rs.Conversations = NewProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsService(s) return rs } type ProjectsLocationsAuthorizedViewSetsAuthorizedViewsService struct { s *Service + + Conversations *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsService +} + +func NewProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsService(s *Service) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsService { + rs := &ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsService{s: s} + return rs +} + +type ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsService struct { + s *Service } func NewProjectsLocationsConversationsService(s *Service) *ProjectsLocationsConversationsService { @@ -2919,6 +2931,24 @@ func (s GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource) Mars // GoogleCloudContactcenterinsightsV1ImportIssueModelResponse: Response from // import issue model type GoogleCloudContactcenterinsightsV1ImportIssueModelResponse struct { + // IssueModel: The issue model that was imported. + IssueModel *GoogleCloudContactcenterinsightsV1IssueModel `json:"issueModel,omitempty"` + // ForceSendFields is a list of field names (e.g. "IssueModel") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "IssueModel") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudContactcenterinsightsV1ImportIssueModelResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContactcenterinsightsV1ImportIssueModelResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GoogleCloudContactcenterinsightsV1IngestConversationsMetadata: The metadata @@ -7638,6 +7668,24 @@ func (s GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource // GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse: Response // from import issue model type GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse struct { + // IssueModel: The issue model that was imported. + IssueModel *GoogleCloudContactcenterinsightsV1alpha1IssueModel `json:"issueModel,omitempty"` + // ForceSendFields is a list of field names (e.g. "IssueModel") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "IssueModel") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata: The @@ -10764,74 +10812,61 @@ func (c *ProjectsLocationsAnalysisRulesPatchCall) Do(opts ...googleapi.CallOptio return ret, nil } -type ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall struct { - s *Service - location string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall struct { + s *Service + location string + googlecloudcontactcenterinsightsv1querymetricsrequest *GoogleCloudContactcenterinsightsV1QueryMetricsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// CalculateStats: Gets conversation statistics. +// QueryMetrics: Query metrics. // -// - location: The location of the conversations. -func (r *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsService) CalculateStats(location string) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall { - c := &ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - location: The location of the data. +// "projects/{project}/locations/{location}". +func (r *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsService) QueryMetrics(location string, googlecloudcontactcenterinsightsv1querymetricsrequest *GoogleCloudContactcenterinsightsV1QueryMetricsRequest) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall { + c := &ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.location = location - return c -} - -// Filter sets the optional parameter "filter": A filter to reduce results to a -// specific subset. This field is useful for getting statistics about -// conversations with specific properties. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) Filter(filter string) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall { - c.urlParams_.Set("filter", filter) + c.googlecloudcontactcenterinsightsv1querymetricsrequest = googlecloudcontactcenterinsightsv1querymetricsrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall { +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets an 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. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) Context(ctx context.Context) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall { +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Context(ctx context.Context) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) Header() http.Header { +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1querymetricsrequest) + if err != nil { + return nil, err + } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+location}:calculateStats") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+location}:queryMetrics") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } @@ -10842,13 +10877,13 @@ func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) d return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.calculateStats" call. +// Do executes the "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics" call. // Any non-2xx status code is an error. Response headers are in either -// *GoogleCloudContactcenterinsightsV1CalculateStatsResponse.ServerResponse.Head -// er 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 *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1CalculateStatsResponse, error) { +// *GoogleLongrunningOperation.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 *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10867,7 +10902,7 @@ func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) D if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &GoogleCloudContactcenterinsightsV1CalculateStatsResponse{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10880,61 +10915,74 @@ func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCalculateStatsCall) D return ret, nil } -type ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall struct { - s *Service - location string - googlecloudcontactcenterinsightsv1querymetricsrequest *GoogleCloudContactcenterinsightsV1QueryMetricsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall struct { + s *Service + location string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// QueryMetrics: Query metrics. +// CalculateStats: Gets conversation statistics. // -// - location: The location of the data. -// "projects/{project}/locations/{location}". -func (r *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsService) QueryMetrics(location string, googlecloudcontactcenterinsightsv1querymetricsrequest *GoogleCloudContactcenterinsightsV1QueryMetricsRequest) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall { - c := &ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - location: The location of the conversations. +func (r *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsService) CalculateStats(location string) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall { + c := &ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.location = location - c.googlecloudcontactcenterinsightsv1querymetricsrequest = googlecloudcontactcenterinsightsv1querymetricsrequest + return c +} + +// Filter sets the optional parameter "filter": A filter to reduce results to a +// specific subset. This field is useful for getting statistics about +// conversations with specific properties. +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall) Filter(filter string) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall { + c.urlParams_.Set("filter", filter) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall { +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an 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. +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Context(ctx context.Context) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall { +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall) Context(ctx context.Context) *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Header() http.Header { +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1querymetricsrequest) - if err != nil { - return nil, err +func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + 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/{+location}:queryMetrics") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+location}/conversations:calculateStats") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -10945,13 +10993,13 @@ func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) doR return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics" call. +// Do executes the "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats" call. // Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.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 *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// *GoogleCloudContactcenterinsightsV1CalculateStatsResponse.ServerResponse.Head +// er 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 *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStatsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1CalculateStatsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10970,7 +11018,7 @@ func (c *ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetricsCall) Do( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudContactcenterinsightsV1CalculateStatsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, diff --git a/css/v1/css-api.json b/css/v1/css-api.json index ccd4c2da9c4..04844d8e685 100644 --- a/css/v1/css-api.json +++ b/css/v1/css-api.json @@ -158,7 +158,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 100; values above 100 will be coerced to 100.", "format": "int32", "location": "query", "type": "integer" @@ -257,7 +257,8 @@ ], "parameters": { "feedId": { - "description": "Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.", + "deprecated": true, + "description": "Optional. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.", "format": "int64", "location": "query", "type": "string" @@ -472,7 +473,7 @@ } } }, - "revision": "20241124", + "revision": "20241210", "rootUrl": "https://css.googleapis.com/", "schemas": { "Account": { @@ -919,6 +920,7 @@ "type": "string" }, "freshnessTime": { + "deprecated": true, "description": "Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown.", "format": "google-datetime", "type": "string" diff --git a/css/v1/css-gen.go b/css/v1/css-gen.go index ee771d1c9bb..8ff7ddf363e 100644 --- a/css/v1/css-gen.go +++ b/css/v1/css-gen.go @@ -1199,8 +1199,8 @@ func (c *AccountsListChildAccountsCall) LabelId(labelId int64) *AccountsListChil // PageSize sets the optional parameter "pageSize": The maximum number of // accounts to return. The service may return fewer than this value. If -// unspecified, at most 50 accounts will be returned. The maximum value is -// 1000; values above 1000 will be coerced to 1000. +// unspecified, at most 50 accounts will be returned. The maximum value is 100; +// values above 100 will be coerced to 100. func (c *AccountsListChildAccountsCall) PageSize(pageSize int64) *AccountsListChildAccountsCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -1557,11 +1557,11 @@ func (r *AccountsCssProductInputsService) Insert(parent string, cssproductinput return c } -// FeedId sets the optional parameter "feedId": Required. The primary or -// supplemental feed id. If CSS Product already exists and feed id provided is -// different, then the CSS Product will be moved to a new feed. Note: For now, -// CSSs do not need to provide feed ids as we create feeds on the fly. We do -// not have supplemental feed support for CSS Products yet. +// FeedId sets the optional parameter "feedId": The primary or supplemental +// feed id. If CSS Product already exists and feed id provided is different, +// then the CSS Product will be moved to a new feed. Note: For now, CSSs do not +// need to provide feed ids as we create feeds on the fly. We do not have +// supplemental feed support for CSS Products yet. func (c *AccountsCssProductInputsInsertCall) FeedId(feedId int64) *AccountsCssProductInputsInsertCall { c.urlParams_.Set("feedId", fmt.Sprint(feedId)) return c diff --git a/dataplex/v1/dataplex-api.json b/dataplex/v1/dataplex-api.json index e8ccb7c0b43..329961f2b29 100644 --- a/dataplex/v1/dataplex-api.json +++ b/dataplex/v1/dataplex-api.json @@ -712,7 +712,7 @@ "type": "string" }, "orderBy": { - "description": "Optional. Specifies the ordering of results.", + "description": "Optional. Specifies the ordering of results. Supported values are: * relevance (default) * last_modified_timestamp * last_modified_timestamp asc", "location": "query", "type": "string" }, @@ -728,7 +728,7 @@ "type": "string" }, "query": { - "description": "Required. The query against which entries in scope should be matched.", + "description": "Required. The query against which entries in scope should be matched. The query syntax is defined in Search syntax for Dataplex Catalog (https://cloud.google.com/dataplex/docs/search-syntax).", "location": "query", "type": "string" }, @@ -1335,6 +1335,11 @@ "name" ], "parameters": { + "force": { + "description": "Optional. If set to true, any child resources of this data scan will also be deleted. (Otherwise, the request will only work if the data scan has no child resources.)", + "location": "query", + "type": "boolean" + }, "name": { "description": "Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", @@ -1506,14 +1511,14 @@ ], "parameters": { "name": { - "description": "Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Required. Mask of fields to update.", + "description": "Optional. Mask of fields to update.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2717,7 +2722,7 @@ "type": "boolean" }, "aspectKeys": { - "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", + "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", "location": "query", "repeated": true, "type": "string" @@ -6239,7 +6244,7 @@ } } }, - "revision": "20241106", + "revision": "20241206", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -8494,7 +8499,7 @@ "type": "object" }, "name": { - "description": "Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Output only. Identifier. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", "readOnly": true, "type": "string" }, @@ -8825,12 +8830,12 @@ "type": "string" }, "latestJobEndTime": { - "description": "The time when the latest DataScanJob ended.", + "description": "Optional. The time when the latest DataScanJob ended.", "format": "google-datetime", "type": "string" }, "latestJobStartTime": { - "description": "The time when the latest DataScanJob started.", + "description": "Optional. The time when the latest DataScanJob started.", "format": "google-datetime", "type": "string" } @@ -8889,7 +8894,7 @@ "type": "string" }, "name": { - "description": "Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Output only. Identifier. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", "readOnly": true, "type": "string" }, @@ -9941,7 +9946,7 @@ "id": "GoogleCloudDataplexV1ImportItem", "properties": { "aspectKeys": { - "description": "The aspects to modify. Supports the following syntaxes: {aspect_type_reference}: matches aspects that belong to the specified aspect type and are attached directly to the entry. {aspect_type_reference}@{path}: matches aspects that belong to the specified aspect type and path. {aspect_type_reference}@*: matches aspects that belong to the specified aspect type for all paths.Replace {aspect_type_reference} with a reference to the aspect type, in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If you leave this field empty, it is treated as specifying exactly those aspects that are present within the specified entry.In FULL entry sync mode, Dataplex implicitly adds the keys for all of the required aspects of an entry.", + "description": "The aspects to modify. Supports the following syntaxes: {aspect_type_reference}: matches aspects that belong to the specified aspect type and are attached directly to the entry. {aspect_type_reference}@{path}: matches aspects that belong to the specified aspect type and path. @* : matches aspects of the given type for all paths. *@path : matches aspects of all types on the given path. Replace {aspect_type_reference} with a reference to the aspect type, in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If you leave this field empty, it is treated as specifying exactly those aspects that are present within the specified entry.In FULL entry sync mode, Dataplex implicitly adds the keys for all of the required aspects of an entry.", "items": { "type": "string" }, diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index a5b934a0bee..2d84971e7cf 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -3490,7 +3490,8 @@ type GoogleCloudDataplexV1DataScan struct { ExecutionStatus *GoogleCloudDataplexV1DataScanExecutionStatus `json:"executionStatus,omitempty"` // Labels: Optional. User-defined labels for the scan. Labels map[string]string `json:"labels,omitempty"` - // Name: Output only. The relative resource name of the scan, of the form: + // Name: Output only. Identifier. The relative resource name of the scan, of + // the form: // projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where // project refers to a project_id or project_number and location_id refers to a // GCP region. @@ -3870,9 +3871,9 @@ type GoogleCloudDataplexV1DataScanExecutionStatus struct { // LatestJobCreateTime: Optional. The time when the DataScanJob execution was // created. LatestJobCreateTime string `json:"latestJobCreateTime,omitempty"` - // LatestJobEndTime: The time when the latest DataScanJob ended. + // LatestJobEndTime: Optional. The time when the latest DataScanJob ended. LatestJobEndTime string `json:"latestJobEndTime,omitempty"` - // LatestJobStartTime: The time when the latest DataScanJob started. + // LatestJobStartTime: Optional. The time when the latest DataScanJob started. LatestJobStartTime string `json:"latestJobStartTime,omitempty"` // ForceSendFields is a list of field names (e.g. "LatestJobCreateTime") to // unconditionally include in API requests. By default, fields with empty or @@ -3913,8 +3914,8 @@ type GoogleCloudDataplexV1DataScanJob struct { EndTime string `json:"endTime,omitempty"` // Message: Output only. Additional information about the current state. Message string `json:"message,omitempty"` - // Name: Output only. The relative resource name of the DataScanJob, of the - // form: + // Name: Output only. Identifier. The relative resource name of the + // DataScanJob, of the form: // projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_ // id}, where project refers to a project_id or project_number and location_id // refers to a GCP region. @@ -5056,10 +5057,10 @@ type GoogleCloudDataplexV1ImportItem struct { // AspectKeys: The aspects to modify. Supports the following syntaxes: // {aspect_type_reference}: matches aspects that belong to the specified aspect // type and are attached directly to the entry. {aspect_type_reference}@{path}: - // matches aspects that belong to the specified aspect type and path. - // {aspect_type_reference}@*: matches aspects that belong to the specified - // aspect type for all paths.Replace {aspect_type_reference} with a reference - // to the aspect type, in the format + // matches aspects that belong to the specified aspect type and path. @* : + // matches aspects of the given type for all paths. *@path : matches aspects of + // all types on the given path. Replace {aspect_type_reference} with a + // reference to the aspect type, in the format // {project_id_or_number}.{location_id}.{aspect_type_id}.If you leave this // field empty, it is treated as specifying exactly those aspects that are // present within the specified entry.In FULL entry sync mode, Dataplex @@ -9494,7 +9495,8 @@ func (r *ProjectsLocationsService) SearchEntries(name string) *ProjectsLocations } // OrderBy sets the optional parameter "orderBy": Specifies the ordering of -// results. +// results. Supported values are: * relevance (default) * +// last_modified_timestamp * last_modified_timestamp asc func (c *ProjectsLocationsSearchEntriesCall) OrderBy(orderBy string) *ProjectsLocationsSearchEntriesCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -9516,7 +9518,9 @@ func (c *ProjectsLocationsSearchEntriesCall) PageToken(pageToken string) *Projec } // Query sets the optional parameter "query": Required. The query against which -// entries in scope should be matched. +// entries in scope should be matched. The query syntax is defined in Search +// syntax for Dataplex Catalog +// (https://cloud.google.com/dataplex/docs/search-syntax). func (c *ProjectsLocationsSearchEntriesCall) Query(query string) *ProjectsLocationsSearchEntriesCall { c.urlParams_.Set("query", query) return c @@ -11700,6 +11704,14 @@ func (r *ProjectsLocationsDataScansService) Delete(name string) *ProjectsLocatio return c } +// Force sets the optional parameter "force": If set to true, any child +// resources of this data scan will also be deleted. (Otherwise, the request +// will only work if the data scan has no child resources.) +func (c *ProjectsLocationsDataScansDeleteCall) Force(force bool) *ProjectsLocationsDataScansDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. @@ -12311,7 +12323,8 @@ type ProjectsLocationsDataScansPatchCall struct { // Patch: Updates a DataScan resource. // -// - name: Output only. The relative resource name of the scan, of the form: +// - name: Output only. Identifier. The relative resource name of the scan, of +// the form: // projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where // project refers to a project_id or project_number and location_id refers to // a GCP region. @@ -12322,8 +12335,8 @@ func (r *ProjectsLocationsDataScansService) Patch(name string, googleclouddatapl return c } -// UpdateMask sets the optional parameter "updateMask": Required. Mask of -// fields to update. +// UpdateMask sets the optional parameter "updateMask": Mask of fields to +// update. func (c *ProjectsLocationsDataScansPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataScansPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -16582,7 +16595,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) AllowMissing(allowMissing // - matches an aspect of the given type and empty path. @path - matches an // aspect of the given type and specified path. For example, to attach an // aspect to a field that is specified by the schema aspect, the path should -// have the format Schema.. * - matches aspects of the given type for all +// have the format Schema.. @* - matches aspects of the given type for all // paths. *@path - matches aspects of all types on the given path.The service // will not remove existing aspects matching the syntax unless // delete_missing_aspects is set to true.If this field is left empty, the diff --git a/dataportability/v1/dataportability-api.json b/dataportability/v1/dataportability-api.json index e4bc7b984ea..a0d11fc2534 100644 --- a/dataportability/v1/dataportability-api.json +++ b/dataportability/v1/dataportability-api.json @@ -3,199 +3,199 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/dataportability.alerts.subscriptions": { - "description": "Move a copy of the Google Alerts subscriptions you created" + "description": "Move a copy of the Google Alerts subscriptions you created." }, "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations": { - "description": "Move a copy of messages between you and the businesses you have conversations with across Google services" + "description": "Move a copy of messages between you and the businesses you have conversations with across Google services." }, "https://www.googleapis.com/auth/dataportability.chrome.autofill": { - "description": "Move a copy of the information you entered into online forms in Chrome" + "description": "Move a copy of the information you entered into online forms in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.bookmarks": { - "description": "Move a copy of pages you bookmarked in Chrome" + "description": "Move a copy of pages you bookmarked in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.dictionary": { - "description": "Move a copy of words you added to Chrome's dictionary" + "description": "Move a copy of words you added to Chrome's dictionary." }, "https://www.googleapis.com/auth/dataportability.chrome.extensions": { - "description": "Move a copy of extensions you installed from the Chrome Web Store" + "description": "Move a copy of extensions you installed from the Chrome Web Store." }, "https://www.googleapis.com/auth/dataportability.chrome.history": { - "description": "Move a copy of sites you visited in Chrome" + "description": "Move a copy of sites you visited in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.reading_list": { - "description": "Move a copy of pages you added to your reading list in Chrome" + "description": "Move a copy of pages you added to your reading list in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.settings": { - "description": "Move a copy of your settings in Chrome" + "description": "Move a copy of your settings in Chrome." }, "https://www.googleapis.com/auth/dataportability.discover.follows": { - "description": "Move a copy of searches and sites you follow, saved by Discover" + "description": "Move a copy of searches and sites you follow, saved by Discover." }, "https://www.googleapis.com/auth/dataportability.discover.likes": { - "description": "Move a copy of links to your liked documents, saved by Discover" + "description": "Move a copy of links to your liked documents, saved by Discover." }, "https://www.googleapis.com/auth/dataportability.discover.not_interested": { - "description": "Move a copy of content you marked as not interested, saved by Discover" + "description": "Move a copy of content you marked as not interested, saved by Discover." }, "https://www.googleapis.com/auth/dataportability.maps.aliased_places": { - "description": "Move a copy of the places you labeled on Maps" + "description": "Move a copy of the places you labeled on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.commute_routes": { - "description": "Move a copy of your pinned trips on Maps" + "description": "Move a copy of your pinned trips on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.commute_settings": { - "description": "Move a copy of your commute settings on Maps" + "description": "Move a copy of your commute settings on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.ev_profile": { - "description": "Move a copy of your electric vehicle profile on Maps" + "description": "Move a copy of your electric vehicle profile on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.factual_contributions": { - "description": "Move a copy of the corrections you made to places or map information on Maps" + "description": "Move a copy of the corrections you made to places or map information on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.offering_contributions": { - "description": "Move a copy of your updates to places on Maps" + "description": "Move a copy of your updates to places on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.photos_videos": { - "description": "Move a copy of the photos and videos you posted on Maps" + "description": "Move a copy of the photos and videos you posted on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.questions_answers": { - "description": "Move a copy of the questions and answers you posted on Maps" + "description": "Move a copy of the questions and answers you posted on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.reviews": { - "description": "Move a copy of your reviews and posts on Maps" + "description": "Move a copy of your reviews and posts on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.starred_places": { - "description": "Move a copy of your Starred places list on Maps" + "description": "Move a copy of your Starred places list on Maps." }, "https://www.googleapis.com/auth/dataportability.myactivity.maps": { - "description": "Move a copy of your Maps activity" + "description": "Move a copy of your Maps activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter": { - "description": "Move a copy of your My Ad Center activity" + "description": "Move a copy of your My Ad Center activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.play": { - "description": "Move a copy of your Google Play activity" + "description": "Move a copy of your Google Play activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.search": { - "description": "Move a copy of your Google Search activity" + "description": "Move a copy of your Google Search activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.shopping": { - "description": "Move a copy of your Shopping activity" + "description": "Move a copy of your Shopping activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.youtube": { - "description": "Move a copy of your YouTube activity" + "description": "Move a copy of your YouTube activity." }, "https://www.googleapis.com/auth/dataportability.mymaps.maps": { - "description": "Move a copy of the maps you created in My Maps" + "description": "Move a copy of the maps you created in My Maps." }, "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations": { - "description": "Move a copy of your food purchase and reservation activity" + "description": "Move a copy of your food purchase and reservation activity." }, "https://www.googleapis.com/auth/dataportability.play.devices": { - "description": "Move a copy of information about your devices with Google Play Store installed" + "description": "Move a copy of information about your devices with Google Play Store installed." }, "https://www.googleapis.com/auth/dataportability.play.grouping": { - "description": "Move a copy of your Google Play Store Grouping tags created by app developers" + "description": "Move a copy of your Google Play Store Grouping tags created by app developers." }, "https://www.googleapis.com/auth/dataportability.play.installs": { - "description": "Move a copy of your Google Play Store app installations" + "description": "Move a copy of your Google Play Store app installations." }, "https://www.googleapis.com/auth/dataportability.play.library": { - "description": "Move a copy of your Google Play Store downloads, including books, games, and apps" + "description": "Move a copy of your Google Play Store downloads, including books, games, and apps." }, "https://www.googleapis.com/auth/dataportability.play.playpoints": { - "description": "Move a copy of information about your Google Play Store Points" + "description": "Move a copy of information about your Google Play Store Points." }, "https://www.googleapis.com/auth/dataportability.play.promotions": { - "description": "Move a copy of information about your Google Play Store promotions" + "description": "Move a copy of information about your Google Play Store promotions." }, "https://www.googleapis.com/auth/dataportability.play.purchases": { - "description": "Move a copy of your Google Play Store purchases" + "description": "Move a copy of your Google Play Store purchases." }, "https://www.googleapis.com/auth/dataportability.play.redemptions": { - "description": "Move a copy of your Google Play Store redemption activities" + "description": "Move a copy of your Google Play Store redemption activities." }, "https://www.googleapis.com/auth/dataportability.play.subscriptions": { - "description": "Move a copy of your Google Play Store subscriptions" + "description": "Move a copy of your Google Play Store subscriptions." }, "https://www.googleapis.com/auth/dataportability.play.usersettings": { - "description": "Move a copy of your Google Play Store user settings and preferences" + "description": "Move a copy of your Google Play Store user settings and preferences." }, "https://www.googleapis.com/auth/dataportability.saved.collections": { - "description": "Move a copy of your saved links, images, places, and collections from your use of Google services" + "description": "Move a copy of your saved links, images, places, and collections from your use of Google services." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars": { - "description": "Move a copy of your media reviews on Google Search" + "description": "Move a copy of your media reviews on Google Search." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers": { - "description": "Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV" + "description": "Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs": { - "description": "Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV" + "description": "Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched": { - "description": "Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV" + "description": "Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV." }, "https://www.googleapis.com/auth/dataportability.searchnotifications.settings": { - "description": "Move a copy of your notification settings on the Google Search app" + "description": "Move a copy of your notification settings on the Google Search app." }, "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions": { - "description": "Move a copy of your notification subscriptions on Google Search app" + "description": "Move a copy of your notification subscriptions on Google Search app." }, "https://www.googleapis.com/auth/dataportability.shopping.addresses": { - "description": "Move a copy of your shipping information on Shopping" + "description": "Move a copy of your shipping information on Shopping." }, "https://www.googleapis.com/auth/dataportability.shopping.reviews": { - "description": "Move a copy of reviews you wrote about products or online stores on Google Search" + "description": "Move a copy of reviews you wrote about products or online stores on Google Search." }, "https://www.googleapis.com/auth/dataportability.streetview.imagery": { - "description": "Move a copy of the images and videos you uploaded to Street View" + "description": "Move a copy of the images and videos you uploaded to Street View." }, "https://www.googleapis.com/auth/dataportability.youtube.channel": { - "description": "Move a copy of information about your YouTube channel" + "description": "Move a copy of information about your YouTube channel." }, "https://www.googleapis.com/auth/dataportability.youtube.clips": { - "description": "Move a copy of your YouTube clips metadata" + "description": "Move a copy of your YouTube clips metadata." }, "https://www.googleapis.com/auth/dataportability.youtube.comments": { - "description": "Move a copy of your YouTube comments" + "description": "Move a copy of your YouTube comments." }, "https://www.googleapis.com/auth/dataportability.youtube.live_chat": { - "description": "Move a copy of your YouTube messages in live chat" + "description": "Move a copy of your YouTube messages in live chat." }, "https://www.googleapis.com/auth/dataportability.youtube.music": { - "description": "Move a copy of your uploaded YouTube music tracks and your YouTube music library" + "description": "Move a copy of your uploaded YouTube music tracks and your YouTube music library." }, "https://www.googleapis.com/auth/dataportability.youtube.playable": { - "description": "Move a copy of your YouTube playables saved game progress files" + "description": "Move a copy of your YouTube playables saved game progress files." }, "https://www.googleapis.com/auth/dataportability.youtube.posts": { - "description": "Move a copy of your YouTube posts" + "description": "Move a copy of your YouTube posts." }, "https://www.googleapis.com/auth/dataportability.youtube.private_playlists": { - "description": "Move a copy of your YouTube private playlists" + "description": "Move a copy of your YouTube private playlists." }, "https://www.googleapis.com/auth/dataportability.youtube.private_videos": { - "description": "Move a copy of your private YouTube videos and information about them" + "description": "Move a copy of your private YouTube videos and information about them." }, "https://www.googleapis.com/auth/dataportability.youtube.public_playlists": { - "description": "Move a copy of your public YouTube playlists" + "description": "Move a copy of your public YouTube playlists." }, "https://www.googleapis.com/auth/dataportability.youtube.public_videos": { - "description": "Move a copy of your public YouTube videos and information about them" + "description": "Move a copy of your public YouTube videos and information about them." }, "https://www.googleapis.com/auth/dataportability.youtube.shopping": { - "description": "Move a copy of your YouTube shopping wishlists, and wishlist items" + "description": "Move a copy of your YouTube shopping wishlists, and wishlist items." }, "https://www.googleapis.com/auth/dataportability.youtube.subscriptions": { - "description": "Move a copy of your YouTube channel subscriptions, even if they're private" + "description": "Move a copy of your YouTube channel subscriptions, even if they're private." }, "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists": { - "description": "Move a copy of your unlisted YouTube playlists" + "description": "Move a copy of your unlisted YouTube playlists." }, "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos": { - "description": "Move a copy of your unlisted YouTube videos and information about them" + "description": "Move a copy of your unlisted YouTube videos and information about them." } } } @@ -655,7 +655,7 @@ } } }, - "revision": "20241208", + "revision": "20241209", "rootUrl": "https://dataportability.googleapis.com/", "schemas": { "Empty": { diff --git a/dataportability/v1/dataportability-gen.go b/dataportability/v1/dataportability-gen.go index 30e64ef3cba..46b45dd8d12 100644 --- a/dataportability/v1/dataportability-gen.go +++ b/dataportability/v1/dataportability-gen.go @@ -100,209 +100,210 @@ const mtlsBasePath = "https://dataportability.mtls.googleapis.com/" // OAuth2 scopes used by this API. const ( - // Move a copy of the Google Alerts subscriptions you created + // Move a copy of the Google Alerts subscriptions you created. DataportabilityAlertsSubscriptionsScope = "https://www.googleapis.com/auth/dataportability.alerts.subscriptions" // Move a copy of messages between you and the businesses you have - // conversations with across Google services + // conversations with across Google services. DataportabilityBusinessmessagingConversationsScope = "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations" - // Move a copy of the information you entered into online forms in Chrome + // Move a copy of the information you entered into online forms in Chrome. DataportabilityChromeAutofillScope = "https://www.googleapis.com/auth/dataportability.chrome.autofill" - // Move a copy of pages you bookmarked in Chrome + // Move a copy of pages you bookmarked in Chrome. DataportabilityChromeBookmarksScope = "https://www.googleapis.com/auth/dataportability.chrome.bookmarks" - // Move a copy of words you added to Chrome's dictionary + // Move a copy of words you added to Chrome's dictionary. DataportabilityChromeDictionaryScope = "https://www.googleapis.com/auth/dataportability.chrome.dictionary" - // Move a copy of extensions you installed from the Chrome Web Store + // Move a copy of extensions you installed from the Chrome Web Store. DataportabilityChromeExtensionsScope = "https://www.googleapis.com/auth/dataportability.chrome.extensions" - // Move a copy of sites you visited in Chrome + // Move a copy of sites you visited in Chrome. DataportabilityChromeHistoryScope = "https://www.googleapis.com/auth/dataportability.chrome.history" - // Move a copy of pages you added to your reading list in Chrome + // Move a copy of pages you added to your reading list in Chrome. DataportabilityChromeReadingListScope = "https://www.googleapis.com/auth/dataportability.chrome.reading_list" - // Move a copy of your settings in Chrome + // Move a copy of your settings in Chrome. DataportabilityChromeSettingsScope = "https://www.googleapis.com/auth/dataportability.chrome.settings" - // Move a copy of searches and sites you follow, saved by Discover + // Move a copy of searches and sites you follow, saved by Discover. DataportabilityDiscoverFollowsScope = "https://www.googleapis.com/auth/dataportability.discover.follows" - // Move a copy of links to your liked documents, saved by Discover + // Move a copy of links to your liked documents, saved by Discover. DataportabilityDiscoverLikesScope = "https://www.googleapis.com/auth/dataportability.discover.likes" - // Move a copy of content you marked as not interested, saved by Discover + // Move a copy of content you marked as not interested, saved by Discover. DataportabilityDiscoverNotInterestedScope = "https://www.googleapis.com/auth/dataportability.discover.not_interested" - // Move a copy of the places you labeled on Maps + // Move a copy of the places you labeled on Maps. DataportabilityMapsAliasedPlacesScope = "https://www.googleapis.com/auth/dataportability.maps.aliased_places" - // Move a copy of your pinned trips on Maps + // Move a copy of your pinned trips on Maps. DataportabilityMapsCommuteRoutesScope = "https://www.googleapis.com/auth/dataportability.maps.commute_routes" - // Move a copy of your commute settings on Maps + // Move a copy of your commute settings on Maps. DataportabilityMapsCommuteSettingsScope = "https://www.googleapis.com/auth/dataportability.maps.commute_settings" - // Move a copy of your electric vehicle profile on Maps + // Move a copy of your electric vehicle profile on Maps. DataportabilityMapsEvProfileScope = "https://www.googleapis.com/auth/dataportability.maps.ev_profile" - // Move a copy of the corrections you made to places or map information on Maps + // Move a copy of the corrections you made to places or map information on + // Maps. DataportabilityMapsFactualContributionsScope = "https://www.googleapis.com/auth/dataportability.maps.factual_contributions" - // Move a copy of your updates to places on Maps + // Move a copy of your updates to places on Maps. DataportabilityMapsOfferingContributionsScope = "https://www.googleapis.com/auth/dataportability.maps.offering_contributions" - // Move a copy of the photos and videos you posted on Maps + // Move a copy of the photos and videos you posted on Maps. DataportabilityMapsPhotosVideosScope = "https://www.googleapis.com/auth/dataportability.maps.photos_videos" - // Move a copy of the questions and answers you posted on Maps + // Move a copy of the questions and answers you posted on Maps. DataportabilityMapsQuestionsAnswersScope = "https://www.googleapis.com/auth/dataportability.maps.questions_answers" - // Move a copy of your reviews and posts on Maps + // Move a copy of your reviews and posts on Maps. DataportabilityMapsReviewsScope = "https://www.googleapis.com/auth/dataportability.maps.reviews" - // Move a copy of your Starred places list on Maps + // Move a copy of your Starred places list on Maps. DataportabilityMapsStarredPlacesScope = "https://www.googleapis.com/auth/dataportability.maps.starred_places" - // Move a copy of your Maps activity + // Move a copy of your Maps activity. DataportabilityMyactivityMapsScope = "https://www.googleapis.com/auth/dataportability.myactivity.maps" - // Move a copy of your My Ad Center activity + // Move a copy of your My Ad Center activity. DataportabilityMyactivityMyadcenterScope = "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter" - // Move a copy of your Google Play activity + // Move a copy of your Google Play activity. DataportabilityMyactivityPlayScope = "https://www.googleapis.com/auth/dataportability.myactivity.play" - // Move a copy of your Google Search activity + // Move a copy of your Google Search activity. DataportabilityMyactivitySearchScope = "https://www.googleapis.com/auth/dataportability.myactivity.search" - // Move a copy of your Shopping activity + // Move a copy of your Shopping activity. DataportabilityMyactivityShoppingScope = "https://www.googleapis.com/auth/dataportability.myactivity.shopping" - // Move a copy of your YouTube activity + // Move a copy of your YouTube activity. DataportabilityMyactivityYoutubeScope = "https://www.googleapis.com/auth/dataportability.myactivity.youtube" - // Move a copy of the maps you created in My Maps + // Move a copy of the maps you created in My Maps. DataportabilityMymapsMapsScope = "https://www.googleapis.com/auth/dataportability.mymaps.maps" - // Move a copy of your food purchase and reservation activity + // Move a copy of your food purchase and reservation activity. DataportabilityOrderReservePurchasesReservationsScope = "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations" // Move a copy of information about your devices with Google Play Store - // installed + // installed. DataportabilityPlayDevicesScope = "https://www.googleapis.com/auth/dataportability.play.devices" // Move a copy of your Google Play Store Grouping tags created by app - // developers + // developers. DataportabilityPlayGroupingScope = "https://www.googleapis.com/auth/dataportability.play.grouping" - // Move a copy of your Google Play Store app installations + // Move a copy of your Google Play Store app installations. DataportabilityPlayInstallsScope = "https://www.googleapis.com/auth/dataportability.play.installs" // Move a copy of your Google Play Store downloads, including books, games, and - // apps + // apps. DataportabilityPlayLibraryScope = "https://www.googleapis.com/auth/dataportability.play.library" - // Move a copy of information about your Google Play Store Points + // Move a copy of information about your Google Play Store Points. DataportabilityPlayPlaypointsScope = "https://www.googleapis.com/auth/dataportability.play.playpoints" - // Move a copy of information about your Google Play Store promotions + // Move a copy of information about your Google Play Store promotions. DataportabilityPlayPromotionsScope = "https://www.googleapis.com/auth/dataportability.play.promotions" - // Move a copy of your Google Play Store purchases + // Move a copy of your Google Play Store purchases. DataportabilityPlayPurchasesScope = "https://www.googleapis.com/auth/dataportability.play.purchases" - // Move a copy of your Google Play Store redemption activities + // Move a copy of your Google Play Store redemption activities. DataportabilityPlayRedemptionsScope = "https://www.googleapis.com/auth/dataportability.play.redemptions" - // Move a copy of your Google Play Store subscriptions + // Move a copy of your Google Play Store subscriptions. DataportabilityPlaySubscriptionsScope = "https://www.googleapis.com/auth/dataportability.play.subscriptions" - // Move a copy of your Google Play Store user settings and preferences + // Move a copy of your Google Play Store user settings and preferences. DataportabilityPlayUsersettingsScope = "https://www.googleapis.com/auth/dataportability.play.usersettings" // Move a copy of your saved links, images, places, and collections from your - // use of Google services + // use of Google services. DataportabilitySavedCollectionsScope = "https://www.googleapis.com/auth/dataportability.saved.collections" - // Move a copy of your media reviews on Google Search + // Move a copy of your media reviews on Google Search. DataportabilitySearchUgcMediaReviewsAndStarsScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars" // Move a copy of your self-reported video streaming provider preferences from - // Google Search and Google TV + // Google Search and Google TV. DataportabilitySearchUgcMediaStreamingVideoProvidersScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers" // Move a copy of your indicated thumbs up and thumbs down on media in Google - // Search and Google TV + // Search and Google TV. DataportabilitySearchUgcMediaThumbsScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs" // Move a copy of information about the movies and TV shows you marked as - // watched on Google Search and Google TV + // watched on Google Search and Google TV. DataportabilitySearchUgcMediaWatchedScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched" - // Move a copy of your notification settings on the Google Search app + // Move a copy of your notification settings on the Google Search app. DataportabilitySearchnotificationsSettingsScope = "https://www.googleapis.com/auth/dataportability.searchnotifications.settings" - // Move a copy of your notification subscriptions on Google Search app + // Move a copy of your notification subscriptions on Google Search app. DataportabilitySearchnotificationsSubscriptionsScope = "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions" - // Move a copy of your shipping information on Shopping + // Move a copy of your shipping information on Shopping. DataportabilityShoppingAddressesScope = "https://www.googleapis.com/auth/dataportability.shopping.addresses" // Move a copy of reviews you wrote about products or online stores on Google - // Search + // Search. DataportabilityShoppingReviewsScope = "https://www.googleapis.com/auth/dataportability.shopping.reviews" - // Move a copy of the images and videos you uploaded to Street View + // Move a copy of the images and videos you uploaded to Street View. DataportabilityStreetviewImageryScope = "https://www.googleapis.com/auth/dataportability.streetview.imagery" - // Move a copy of information about your YouTube channel + // Move a copy of information about your YouTube channel. DataportabilityYoutubeChannelScope = "https://www.googleapis.com/auth/dataportability.youtube.channel" - // Move a copy of your YouTube clips metadata + // Move a copy of your YouTube clips metadata. DataportabilityYoutubeClipsScope = "https://www.googleapis.com/auth/dataportability.youtube.clips" - // Move a copy of your YouTube comments + // Move a copy of your YouTube comments. DataportabilityYoutubeCommentsScope = "https://www.googleapis.com/auth/dataportability.youtube.comments" - // Move a copy of your YouTube messages in live chat + // Move a copy of your YouTube messages in live chat. DataportabilityYoutubeLiveChatScope = "https://www.googleapis.com/auth/dataportability.youtube.live_chat" // Move a copy of your uploaded YouTube music tracks and your YouTube music - // library + // library. DataportabilityYoutubeMusicScope = "https://www.googleapis.com/auth/dataportability.youtube.music" - // Move a copy of your YouTube playables saved game progress files + // Move a copy of your YouTube playables saved game progress files. DataportabilityYoutubePlayableScope = "https://www.googleapis.com/auth/dataportability.youtube.playable" - // Move a copy of your YouTube posts + // Move a copy of your YouTube posts. DataportabilityYoutubePostsScope = "https://www.googleapis.com/auth/dataportability.youtube.posts" - // Move a copy of your YouTube private playlists + // Move a copy of your YouTube private playlists. DataportabilityYoutubePrivatePlaylistsScope = "https://www.googleapis.com/auth/dataportability.youtube.private_playlists" - // Move a copy of your private YouTube videos and information about them + // Move a copy of your private YouTube videos and information about them. DataportabilityYoutubePrivateVideosScope = "https://www.googleapis.com/auth/dataportability.youtube.private_videos" - // Move a copy of your public YouTube playlists + // Move a copy of your public YouTube playlists. DataportabilityYoutubePublicPlaylistsScope = "https://www.googleapis.com/auth/dataportability.youtube.public_playlists" - // Move a copy of your public YouTube videos and information about them + // Move a copy of your public YouTube videos and information about them. DataportabilityYoutubePublicVideosScope = "https://www.googleapis.com/auth/dataportability.youtube.public_videos" - // Move a copy of your YouTube shopping wishlists, and wishlist items + // Move a copy of your YouTube shopping wishlists, and wishlist items. DataportabilityYoutubeShoppingScope = "https://www.googleapis.com/auth/dataportability.youtube.shopping" - // Move a copy of your YouTube channel subscriptions, even if they're private + // Move a copy of your YouTube channel subscriptions, even if they're private. DataportabilityYoutubeSubscriptionsScope = "https://www.googleapis.com/auth/dataportability.youtube.subscriptions" - // Move a copy of your unlisted YouTube playlists + // Move a copy of your unlisted YouTube playlists. DataportabilityYoutubeUnlistedPlaylistsScope = "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists" - // Move a copy of your unlisted YouTube videos and information about them + // Move a copy of your unlisted YouTube videos and information about them. DataportabilityYoutubeUnlistedVideosScope = "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" ) diff --git a/dataportability/v1beta/dataportability-api.json b/dataportability/v1beta/dataportability-api.json index f5d8ff45251..0aa497b6c7e 100644 --- a/dataportability/v1beta/dataportability-api.json +++ b/dataportability/v1beta/dataportability-api.json @@ -3,199 +3,199 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/dataportability.alerts.subscriptions": { - "description": "Move a copy of the Google Alerts subscriptions you created" + "description": "Move a copy of the Google Alerts subscriptions you created." }, "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations": { - "description": "Move a copy of messages between you and the businesses you have conversations with across Google services" + "description": "Move a copy of messages between you and the businesses you have conversations with across Google services." }, "https://www.googleapis.com/auth/dataportability.chrome.autofill": { - "description": "Move a copy of the information you entered into online forms in Chrome" + "description": "Move a copy of the information you entered into online forms in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.bookmarks": { - "description": "Move a copy of pages you bookmarked in Chrome" + "description": "Move a copy of pages you bookmarked in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.dictionary": { - "description": "Move a copy of words you added to Chrome's dictionary" + "description": "Move a copy of words you added to Chrome's dictionary." }, "https://www.googleapis.com/auth/dataportability.chrome.extensions": { - "description": "Move a copy of extensions you installed from the Chrome Web Store" + "description": "Move a copy of extensions you installed from the Chrome Web Store." }, "https://www.googleapis.com/auth/dataportability.chrome.history": { - "description": "Move a copy of sites you visited in Chrome" + "description": "Move a copy of sites you visited in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.reading_list": { - "description": "Move a copy of pages you added to your reading list in Chrome" + "description": "Move a copy of pages you added to your reading list in Chrome." }, "https://www.googleapis.com/auth/dataportability.chrome.settings": { - "description": "Move a copy of your settings in Chrome" + "description": "Move a copy of your settings in Chrome." }, "https://www.googleapis.com/auth/dataportability.discover.follows": { - "description": "Move a copy of searches and sites you follow, saved by Discover" + "description": "Move a copy of searches and sites you follow, saved by Discover." }, "https://www.googleapis.com/auth/dataportability.discover.likes": { - "description": "Move a copy of links to your liked documents, saved by Discover" + "description": "Move a copy of links to your liked documents, saved by Discover." }, "https://www.googleapis.com/auth/dataportability.discover.not_interested": { - "description": "Move a copy of content you marked as not interested, saved by Discover" + "description": "Move a copy of content you marked as not interested, saved by Discover." }, "https://www.googleapis.com/auth/dataportability.maps.aliased_places": { - "description": "Move a copy of the places you labeled on Maps" + "description": "Move a copy of the places you labeled on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.commute_routes": { - "description": "Move a copy of your pinned trips on Maps" + "description": "Move a copy of your pinned trips on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.commute_settings": { - "description": "Move a copy of your commute settings on Maps" + "description": "Move a copy of your commute settings on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.ev_profile": { - "description": "Move a copy of your electric vehicle profile on Maps" + "description": "Move a copy of your electric vehicle profile on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.factual_contributions": { - "description": "Move a copy of the corrections you made to places or map information on Maps" + "description": "Move a copy of the corrections you made to places or map information on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.offering_contributions": { - "description": "Move a copy of your updates to places on Maps" + "description": "Move a copy of your updates to places on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.photos_videos": { - "description": "Move a copy of the photos and videos you posted on Maps" + "description": "Move a copy of the photos and videos you posted on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.questions_answers": { - "description": "Move a copy of the questions and answers you posted on Maps" + "description": "Move a copy of the questions and answers you posted on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.reviews": { - "description": "Move a copy of your reviews and posts on Maps" + "description": "Move a copy of your reviews and posts on Maps." }, "https://www.googleapis.com/auth/dataportability.maps.starred_places": { - "description": "Move a copy of your Starred places list on Maps" + "description": "Move a copy of your Starred places list on Maps." }, "https://www.googleapis.com/auth/dataportability.myactivity.maps": { - "description": "Move a copy of your Maps activity" + "description": "Move a copy of your Maps activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter": { - "description": "Move a copy of your My Ad Center activity" + "description": "Move a copy of your My Ad Center activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.play": { - "description": "Move a copy of your Google Play activity" + "description": "Move a copy of your Google Play activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.search": { - "description": "Move a copy of your Google Search activity" + "description": "Move a copy of your Google Search activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.shopping": { - "description": "Move a copy of your Shopping activity" + "description": "Move a copy of your Shopping activity." }, "https://www.googleapis.com/auth/dataportability.myactivity.youtube": { - "description": "Move a copy of your YouTube activity" + "description": "Move a copy of your YouTube activity." }, "https://www.googleapis.com/auth/dataportability.mymaps.maps": { - "description": "Move a copy of the maps you created in My Maps" + "description": "Move a copy of the maps you created in My Maps." }, "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations": { - "description": "Move a copy of your food purchase and reservation activity" + "description": "Move a copy of your food purchase and reservation activity." }, "https://www.googleapis.com/auth/dataportability.play.devices": { - "description": "Move a copy of information about your devices with Google Play Store installed" + "description": "Move a copy of information about your devices with Google Play Store installed." }, "https://www.googleapis.com/auth/dataportability.play.grouping": { - "description": "Move a copy of your Google Play Store Grouping tags created by app developers" + "description": "Move a copy of your Google Play Store Grouping tags created by app developers." }, "https://www.googleapis.com/auth/dataportability.play.installs": { - "description": "Move a copy of your Google Play Store app installations" + "description": "Move a copy of your Google Play Store app installations." }, "https://www.googleapis.com/auth/dataportability.play.library": { - "description": "Move a copy of your Google Play Store downloads, including books, games, and apps" + "description": "Move a copy of your Google Play Store downloads, including books, games, and apps." }, "https://www.googleapis.com/auth/dataportability.play.playpoints": { - "description": "Move a copy of information about your Google Play Store Points" + "description": "Move a copy of information about your Google Play Store Points." }, "https://www.googleapis.com/auth/dataportability.play.promotions": { - "description": "Move a copy of information about your Google Play Store promotions" + "description": "Move a copy of information about your Google Play Store promotions." }, "https://www.googleapis.com/auth/dataportability.play.purchases": { - "description": "Move a copy of your Google Play Store purchases" + "description": "Move a copy of your Google Play Store purchases." }, "https://www.googleapis.com/auth/dataportability.play.redemptions": { - "description": "Move a copy of your Google Play Store redemption activities" + "description": "Move a copy of your Google Play Store redemption activities." }, "https://www.googleapis.com/auth/dataportability.play.subscriptions": { - "description": "Move a copy of your Google Play Store subscriptions" + "description": "Move a copy of your Google Play Store subscriptions." }, "https://www.googleapis.com/auth/dataportability.play.usersettings": { - "description": "Move a copy of your Google Play Store user settings and preferences" + "description": "Move a copy of your Google Play Store user settings and preferences." }, "https://www.googleapis.com/auth/dataportability.saved.collections": { - "description": "Move a copy of your saved links, images, places, and collections from your use of Google services" + "description": "Move a copy of your saved links, images, places, and collections from your use of Google services." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars": { - "description": "Move a copy of your media reviews on Google Search" + "description": "Move a copy of your media reviews on Google Search." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers": { - "description": "Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV" + "description": "Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs": { - "description": "Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV" + "description": "Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV." }, "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched": { - "description": "Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV" + "description": "Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV." }, "https://www.googleapis.com/auth/dataportability.searchnotifications.settings": { - "description": "Move a copy of your notification settings on the Google Search app" + "description": "Move a copy of your notification settings on the Google Search app." }, "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions": { - "description": "Move a copy of your notification subscriptions on Google Search app" + "description": "Move a copy of your notification subscriptions on Google Search app." }, "https://www.googleapis.com/auth/dataportability.shopping.addresses": { - "description": "Move a copy of your shipping information on Shopping" + "description": "Move a copy of your shipping information on Shopping." }, "https://www.googleapis.com/auth/dataportability.shopping.reviews": { - "description": "Move a copy of reviews you wrote about products or online stores on Google Search" + "description": "Move a copy of reviews you wrote about products or online stores on Google Search." }, "https://www.googleapis.com/auth/dataportability.streetview.imagery": { - "description": "Move a copy of the images and videos you uploaded to Street View" + "description": "Move a copy of the images and videos you uploaded to Street View." }, "https://www.googleapis.com/auth/dataportability.youtube.channel": { - "description": "Move a copy of information about your YouTube channel" + "description": "Move a copy of information about your YouTube channel." }, "https://www.googleapis.com/auth/dataportability.youtube.clips": { - "description": "Move a copy of your YouTube clips metadata" + "description": "Move a copy of your YouTube clips metadata." }, "https://www.googleapis.com/auth/dataportability.youtube.comments": { - "description": "Move a copy of your YouTube comments" + "description": "Move a copy of your YouTube comments." }, "https://www.googleapis.com/auth/dataportability.youtube.live_chat": { - "description": "Move a copy of your YouTube messages in live chat" + "description": "Move a copy of your YouTube messages in live chat." }, "https://www.googleapis.com/auth/dataportability.youtube.music": { - "description": "Move a copy of your uploaded YouTube music tracks and your YouTube music library" + "description": "Move a copy of your uploaded YouTube music tracks and your YouTube music library." }, "https://www.googleapis.com/auth/dataportability.youtube.playable": { - "description": "Move a copy of your YouTube playables saved game progress files" + "description": "Move a copy of your YouTube playables saved game progress files." }, "https://www.googleapis.com/auth/dataportability.youtube.posts": { - "description": "Move a copy of your YouTube posts" + "description": "Move a copy of your YouTube posts." }, "https://www.googleapis.com/auth/dataportability.youtube.private_playlists": { - "description": "Move a copy of your YouTube private playlists" + "description": "Move a copy of your YouTube private playlists." }, "https://www.googleapis.com/auth/dataportability.youtube.private_videos": { - "description": "Move a copy of your private YouTube videos and information about them" + "description": "Move a copy of your private YouTube videos and information about them." }, "https://www.googleapis.com/auth/dataportability.youtube.public_playlists": { - "description": "Move a copy of your public YouTube playlists" + "description": "Move a copy of your public YouTube playlists." }, "https://www.googleapis.com/auth/dataportability.youtube.public_videos": { - "description": "Move a copy of your public YouTube videos and information about them" + "description": "Move a copy of your public YouTube videos and information about them." }, "https://www.googleapis.com/auth/dataportability.youtube.shopping": { - "description": "Move a copy of your YouTube shopping wishlists, and wishlist items" + "description": "Move a copy of your YouTube shopping wishlists, and wishlist items." }, "https://www.googleapis.com/auth/dataportability.youtube.subscriptions": { - "description": "Move a copy of your YouTube channel subscriptions, even if they're private" + "description": "Move a copy of your YouTube channel subscriptions, even if they're private." }, "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists": { - "description": "Move a copy of your unlisted YouTube playlists" + "description": "Move a copy of your unlisted YouTube playlists." }, "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos": { - "description": "Move a copy of your unlisted YouTube videos and information about them" + "description": "Move a copy of your unlisted YouTube videos and information about them." } } } @@ -655,7 +655,7 @@ } } }, - "revision": "20241208", + "revision": "20241209", "rootUrl": "https://dataportability.googleapis.com/", "schemas": { "Empty": { diff --git a/dataportability/v1beta/dataportability-gen.go b/dataportability/v1beta/dataportability-gen.go index f443a4ddef8..d421de3fa54 100644 --- a/dataportability/v1beta/dataportability-gen.go +++ b/dataportability/v1beta/dataportability-gen.go @@ -100,209 +100,210 @@ const mtlsBasePath = "https://dataportability.mtls.googleapis.com/" // OAuth2 scopes used by this API. const ( - // Move a copy of the Google Alerts subscriptions you created + // Move a copy of the Google Alerts subscriptions you created. DataportabilityAlertsSubscriptionsScope = "https://www.googleapis.com/auth/dataportability.alerts.subscriptions" // Move a copy of messages between you and the businesses you have - // conversations with across Google services + // conversations with across Google services. DataportabilityBusinessmessagingConversationsScope = "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations" - // Move a copy of the information you entered into online forms in Chrome + // Move a copy of the information you entered into online forms in Chrome. DataportabilityChromeAutofillScope = "https://www.googleapis.com/auth/dataportability.chrome.autofill" - // Move a copy of pages you bookmarked in Chrome + // Move a copy of pages you bookmarked in Chrome. DataportabilityChromeBookmarksScope = "https://www.googleapis.com/auth/dataportability.chrome.bookmarks" - // Move a copy of words you added to Chrome's dictionary + // Move a copy of words you added to Chrome's dictionary. DataportabilityChromeDictionaryScope = "https://www.googleapis.com/auth/dataportability.chrome.dictionary" - // Move a copy of extensions you installed from the Chrome Web Store + // Move a copy of extensions you installed from the Chrome Web Store. DataportabilityChromeExtensionsScope = "https://www.googleapis.com/auth/dataportability.chrome.extensions" - // Move a copy of sites you visited in Chrome + // Move a copy of sites you visited in Chrome. DataportabilityChromeHistoryScope = "https://www.googleapis.com/auth/dataportability.chrome.history" - // Move a copy of pages you added to your reading list in Chrome + // Move a copy of pages you added to your reading list in Chrome. DataportabilityChromeReadingListScope = "https://www.googleapis.com/auth/dataportability.chrome.reading_list" - // Move a copy of your settings in Chrome + // Move a copy of your settings in Chrome. DataportabilityChromeSettingsScope = "https://www.googleapis.com/auth/dataportability.chrome.settings" - // Move a copy of searches and sites you follow, saved by Discover + // Move a copy of searches and sites you follow, saved by Discover. DataportabilityDiscoverFollowsScope = "https://www.googleapis.com/auth/dataportability.discover.follows" - // Move a copy of links to your liked documents, saved by Discover + // Move a copy of links to your liked documents, saved by Discover. DataportabilityDiscoverLikesScope = "https://www.googleapis.com/auth/dataportability.discover.likes" - // Move a copy of content you marked as not interested, saved by Discover + // Move a copy of content you marked as not interested, saved by Discover. DataportabilityDiscoverNotInterestedScope = "https://www.googleapis.com/auth/dataportability.discover.not_interested" - // Move a copy of the places you labeled on Maps + // Move a copy of the places you labeled on Maps. DataportabilityMapsAliasedPlacesScope = "https://www.googleapis.com/auth/dataportability.maps.aliased_places" - // Move a copy of your pinned trips on Maps + // Move a copy of your pinned trips on Maps. DataportabilityMapsCommuteRoutesScope = "https://www.googleapis.com/auth/dataportability.maps.commute_routes" - // Move a copy of your commute settings on Maps + // Move a copy of your commute settings on Maps. DataportabilityMapsCommuteSettingsScope = "https://www.googleapis.com/auth/dataportability.maps.commute_settings" - // Move a copy of your electric vehicle profile on Maps + // Move a copy of your electric vehicle profile on Maps. DataportabilityMapsEvProfileScope = "https://www.googleapis.com/auth/dataportability.maps.ev_profile" - // Move a copy of the corrections you made to places or map information on Maps + // Move a copy of the corrections you made to places or map information on + // Maps. DataportabilityMapsFactualContributionsScope = "https://www.googleapis.com/auth/dataportability.maps.factual_contributions" - // Move a copy of your updates to places on Maps + // Move a copy of your updates to places on Maps. DataportabilityMapsOfferingContributionsScope = "https://www.googleapis.com/auth/dataportability.maps.offering_contributions" - // Move a copy of the photos and videos you posted on Maps + // Move a copy of the photos and videos you posted on Maps. DataportabilityMapsPhotosVideosScope = "https://www.googleapis.com/auth/dataportability.maps.photos_videos" - // Move a copy of the questions and answers you posted on Maps + // Move a copy of the questions and answers you posted on Maps. DataportabilityMapsQuestionsAnswersScope = "https://www.googleapis.com/auth/dataportability.maps.questions_answers" - // Move a copy of your reviews and posts on Maps + // Move a copy of your reviews and posts on Maps. DataportabilityMapsReviewsScope = "https://www.googleapis.com/auth/dataportability.maps.reviews" - // Move a copy of your Starred places list on Maps + // Move a copy of your Starred places list on Maps. DataportabilityMapsStarredPlacesScope = "https://www.googleapis.com/auth/dataportability.maps.starred_places" - // Move a copy of your Maps activity + // Move a copy of your Maps activity. DataportabilityMyactivityMapsScope = "https://www.googleapis.com/auth/dataportability.myactivity.maps" - // Move a copy of your My Ad Center activity + // Move a copy of your My Ad Center activity. DataportabilityMyactivityMyadcenterScope = "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter" - // Move a copy of your Google Play activity + // Move a copy of your Google Play activity. DataportabilityMyactivityPlayScope = "https://www.googleapis.com/auth/dataportability.myactivity.play" - // Move a copy of your Google Search activity + // Move a copy of your Google Search activity. DataportabilityMyactivitySearchScope = "https://www.googleapis.com/auth/dataportability.myactivity.search" - // Move a copy of your Shopping activity + // Move a copy of your Shopping activity. DataportabilityMyactivityShoppingScope = "https://www.googleapis.com/auth/dataportability.myactivity.shopping" - // Move a copy of your YouTube activity + // Move a copy of your YouTube activity. DataportabilityMyactivityYoutubeScope = "https://www.googleapis.com/auth/dataportability.myactivity.youtube" - // Move a copy of the maps you created in My Maps + // Move a copy of the maps you created in My Maps. DataportabilityMymapsMapsScope = "https://www.googleapis.com/auth/dataportability.mymaps.maps" - // Move a copy of your food purchase and reservation activity + // Move a copy of your food purchase and reservation activity. DataportabilityOrderReservePurchasesReservationsScope = "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations" // Move a copy of information about your devices with Google Play Store - // installed + // installed. DataportabilityPlayDevicesScope = "https://www.googleapis.com/auth/dataportability.play.devices" // Move a copy of your Google Play Store Grouping tags created by app - // developers + // developers. DataportabilityPlayGroupingScope = "https://www.googleapis.com/auth/dataportability.play.grouping" - // Move a copy of your Google Play Store app installations + // Move a copy of your Google Play Store app installations. DataportabilityPlayInstallsScope = "https://www.googleapis.com/auth/dataportability.play.installs" // Move a copy of your Google Play Store downloads, including books, games, and - // apps + // apps. DataportabilityPlayLibraryScope = "https://www.googleapis.com/auth/dataportability.play.library" - // Move a copy of information about your Google Play Store Points + // Move a copy of information about your Google Play Store Points. DataportabilityPlayPlaypointsScope = "https://www.googleapis.com/auth/dataportability.play.playpoints" - // Move a copy of information about your Google Play Store promotions + // Move a copy of information about your Google Play Store promotions. DataportabilityPlayPromotionsScope = "https://www.googleapis.com/auth/dataportability.play.promotions" - // Move a copy of your Google Play Store purchases + // Move a copy of your Google Play Store purchases. DataportabilityPlayPurchasesScope = "https://www.googleapis.com/auth/dataportability.play.purchases" - // Move a copy of your Google Play Store redemption activities + // Move a copy of your Google Play Store redemption activities. DataportabilityPlayRedemptionsScope = "https://www.googleapis.com/auth/dataportability.play.redemptions" - // Move a copy of your Google Play Store subscriptions + // Move a copy of your Google Play Store subscriptions. DataportabilityPlaySubscriptionsScope = "https://www.googleapis.com/auth/dataportability.play.subscriptions" - // Move a copy of your Google Play Store user settings and preferences + // Move a copy of your Google Play Store user settings and preferences. DataportabilityPlayUsersettingsScope = "https://www.googleapis.com/auth/dataportability.play.usersettings" // Move a copy of your saved links, images, places, and collections from your - // use of Google services + // use of Google services. DataportabilitySavedCollectionsScope = "https://www.googleapis.com/auth/dataportability.saved.collections" - // Move a copy of your media reviews on Google Search + // Move a copy of your media reviews on Google Search. DataportabilitySearchUgcMediaReviewsAndStarsScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars" // Move a copy of your self-reported video streaming provider preferences from - // Google Search and Google TV + // Google Search and Google TV. DataportabilitySearchUgcMediaStreamingVideoProvidersScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers" // Move a copy of your indicated thumbs up and thumbs down on media in Google - // Search and Google TV + // Search and Google TV. DataportabilitySearchUgcMediaThumbsScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs" // Move a copy of information about the movies and TV shows you marked as - // watched on Google Search and Google TV + // watched on Google Search and Google TV. DataportabilitySearchUgcMediaWatchedScope = "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched" - // Move a copy of your notification settings on the Google Search app + // Move a copy of your notification settings on the Google Search app. DataportabilitySearchnotificationsSettingsScope = "https://www.googleapis.com/auth/dataportability.searchnotifications.settings" - // Move a copy of your notification subscriptions on Google Search app + // Move a copy of your notification subscriptions on Google Search app. DataportabilitySearchnotificationsSubscriptionsScope = "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions" - // Move a copy of your shipping information on Shopping + // Move a copy of your shipping information on Shopping. DataportabilityShoppingAddressesScope = "https://www.googleapis.com/auth/dataportability.shopping.addresses" // Move a copy of reviews you wrote about products or online stores on Google - // Search + // Search. DataportabilityShoppingReviewsScope = "https://www.googleapis.com/auth/dataportability.shopping.reviews" - // Move a copy of the images and videos you uploaded to Street View + // Move a copy of the images and videos you uploaded to Street View. DataportabilityStreetviewImageryScope = "https://www.googleapis.com/auth/dataportability.streetview.imagery" - // Move a copy of information about your YouTube channel + // Move a copy of information about your YouTube channel. DataportabilityYoutubeChannelScope = "https://www.googleapis.com/auth/dataportability.youtube.channel" - // Move a copy of your YouTube clips metadata + // Move a copy of your YouTube clips metadata. DataportabilityYoutubeClipsScope = "https://www.googleapis.com/auth/dataportability.youtube.clips" - // Move a copy of your YouTube comments + // Move a copy of your YouTube comments. DataportabilityYoutubeCommentsScope = "https://www.googleapis.com/auth/dataportability.youtube.comments" - // Move a copy of your YouTube messages in live chat + // Move a copy of your YouTube messages in live chat. DataportabilityYoutubeLiveChatScope = "https://www.googleapis.com/auth/dataportability.youtube.live_chat" // Move a copy of your uploaded YouTube music tracks and your YouTube music - // library + // library. DataportabilityYoutubeMusicScope = "https://www.googleapis.com/auth/dataportability.youtube.music" - // Move a copy of your YouTube playables saved game progress files + // Move a copy of your YouTube playables saved game progress files. DataportabilityYoutubePlayableScope = "https://www.googleapis.com/auth/dataportability.youtube.playable" - // Move a copy of your YouTube posts + // Move a copy of your YouTube posts. DataportabilityYoutubePostsScope = "https://www.googleapis.com/auth/dataportability.youtube.posts" - // Move a copy of your YouTube private playlists + // Move a copy of your YouTube private playlists. DataportabilityYoutubePrivatePlaylistsScope = "https://www.googleapis.com/auth/dataportability.youtube.private_playlists" - // Move a copy of your private YouTube videos and information about them + // Move a copy of your private YouTube videos and information about them. DataportabilityYoutubePrivateVideosScope = "https://www.googleapis.com/auth/dataportability.youtube.private_videos" - // Move a copy of your public YouTube playlists + // Move a copy of your public YouTube playlists. DataportabilityYoutubePublicPlaylistsScope = "https://www.googleapis.com/auth/dataportability.youtube.public_playlists" - // Move a copy of your public YouTube videos and information about them + // Move a copy of your public YouTube videos and information about them. DataportabilityYoutubePublicVideosScope = "https://www.googleapis.com/auth/dataportability.youtube.public_videos" - // Move a copy of your YouTube shopping wishlists, and wishlist items + // Move a copy of your YouTube shopping wishlists, and wishlist items. DataportabilityYoutubeShoppingScope = "https://www.googleapis.com/auth/dataportability.youtube.shopping" - // Move a copy of your YouTube channel subscriptions, even if they're private + // Move a copy of your YouTube channel subscriptions, even if they're private. DataportabilityYoutubeSubscriptionsScope = "https://www.googleapis.com/auth/dataportability.youtube.subscriptions" - // Move a copy of your unlisted YouTube playlists + // Move a copy of your unlisted YouTube playlists. DataportabilityYoutubeUnlistedPlaylistsScope = "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists" - // Move a copy of your unlisted YouTube videos and information about them + // Move a copy of your unlisted YouTube videos and information about them. DataportabilityYoutubeUnlistedVideosScope = "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" ) diff --git a/developerconnect/v1/developerconnect-api.json b/developerconnect/v1/developerconnect-api.json index 0a70f4c1029..58aeeea5890 100644 --- a/developerconnect/v1/developerconnect-api.json +++ b/developerconnect/v1/developerconnect-api.json @@ -842,7 +842,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "developerconnect.projects.locations.operations.cancel", @@ -967,7 +967,7 @@ } } }, - "revision": "20241107", + "revision": "20241205", "rootUrl": "https://developerconnect.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1049,7 +1049,7 @@ "type": "boolean" }, "uid": { - "description": "Output only. A system-assigned unique identifier for a the GitRepositoryLink.", + "description": "Output only. A system-assigned unique identifier for the Connection.", "readOnly": true, "type": "string" }, @@ -1371,7 +1371,7 @@ "type": "boolean" }, "uid": { - "description": "Output only. A system-assigned unique identifier for a the GitRepositoryLink.", + "description": "Output only. A system-assigned unique identifier for the GitRepositoryLink.", "readOnly": true, "type": "string" }, diff --git a/developerconnect/v1/developerconnect-gen.go b/developerconnect/v1/developerconnect-gen.go index de48b18a5d9..d5a5a76eace 100644 --- a/developerconnect/v1/developerconnect-gen.go +++ b/developerconnect/v1/developerconnect-gen.go @@ -255,8 +255,7 @@ type Connection struct { // Reconciling: Output only. Set to true when the connection is being set up or // updated in the background. Reconciling bool `json:"reconciling,omitempty"` - // Uid: Output only. A system-assigned unique identifier for a the - // GitRepositoryLink. + // Uid: Output only. A system-assigned unique identifier for the Connection. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. [Output only] Update timestamp UpdateTime string `json:"updateTime,omitempty"` @@ -669,7 +668,7 @@ type GitRepositoryLink struct { // Reconciling: Output only. Set to true when the connection is being set up or // updated in the background. Reconciling bool `json:"reconciling,omitempty"` - // Uid: Output only. A system-assigned unique identifier for a the + // Uid: Output only. A system-assigned unique identifier for the // GitRepositoryLink. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. [Output only] Update timestamp @@ -3654,7 +3653,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/discoveryengine/v1/discoveryengine-api.json b/discoveryengine/v1/discoveryengine-api.json index 02f0d138268..97ccc61de46 100644 --- a/discoveryengine/v1/discoveryengine-api.json +++ b/discoveryengine/v1/discoveryengine-api.json @@ -6341,7 +6341,7 @@ } } }, - "revision": "20241206", + "revision": "20241210", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -9570,7 +9570,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -13777,73 +13777,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1alphaCustomTuningModel": { - "description": "Metadata that describes a custom tuned model.", - "id": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel", - "properties": { - "createTime": { - "deprecated": true, - "description": "Deprecated: Timestamp the Model was created at.", - "format": "google-datetime", - "type": "string" - }, - "displayName": { - "description": "The display name of the model.", - "type": "string" - }, - "errorMessage": { - "description": "Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.", - "type": "string" - }, - "metrics": { - "additionalProperties": { - "format": "double", - "type": "number" - }, - "description": "The metrics of the trained model.", - "type": "object" - }, - "modelState": { - "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", - "enum": [ - "MODEL_STATE_UNSPECIFIED", - "TRAINING_PAUSED", - "TRAINING", - "TRAINING_COMPLETE", - "READY_FOR_SERVING", - "TRAINING_FAILED", - "NO_IMPROVEMENT", - "INPUT_VALIDATION_FAILED" - ], - "enumDescriptions": [ - "Default value.", - "The model is in a paused training state.", - "The model is currently training.", - "The model has successfully completed training.", - "The model is ready for serving.", - "The model training failed.", - "The model training finished successfully but metrics did not improve.", - "Input data validation failed. Model training didn't start." - ], - "type": "string" - }, - "modelVersion": { - "description": "The version of the model.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters.", - "type": "string" - }, - "trainingStartTime": { - "description": "Timestamp the model training was initiated.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1alphaDataStore": { "description": "DataStore captures global settings and configs at the DataStore level.", "id": "GoogleCloudDiscoveryengineV1alphaDataStore", @@ -14323,7 +14256,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -15262,20 +15195,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse": { - "description": "Response message for SearchTuningService.ListCustomModels method.", - "id": "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse", - "properties": { - "models": { - "description": "List of custom tuning models.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1alphaListSessionsRequest": { "description": "Request for ListSessions method.", "id": "GoogleCloudDiscoveryengineV1alphaListSessionsRequest", @@ -17432,73 +17351,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaCustomTuningModel": { - "description": "Metadata that describes a custom tuned model.", - "id": "GoogleCloudDiscoveryengineV1betaCustomTuningModel", - "properties": { - "createTime": { - "deprecated": true, - "description": "Deprecated: Timestamp the Model was created at.", - "format": "google-datetime", - "type": "string" - }, - "displayName": { - "description": "The display name of the model.", - "type": "string" - }, - "errorMessage": { - "description": "Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.", - "type": "string" - }, - "metrics": { - "additionalProperties": { - "format": "double", - "type": "number" - }, - "description": "The metrics of the trained model.", - "type": "object" - }, - "modelState": { - "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", - "enum": [ - "MODEL_STATE_UNSPECIFIED", - "TRAINING_PAUSED", - "TRAINING", - "TRAINING_COMPLETE", - "READY_FOR_SERVING", - "TRAINING_FAILED", - "NO_IMPROVEMENT", - "INPUT_VALIDATION_FAILED" - ], - "enumDescriptions": [ - "Default value.", - "The model is in a paused training state.", - "The model is currently training.", - "The model has successfully completed training.", - "The model is ready for serving.", - "The model training failed.", - "The model training finished successfully but metrics did not improve.", - "Input data validation failed. Model training didn't start." - ], - "type": "string" - }, - "modelVersion": { - "description": "The version of the model.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters.", - "type": "string" - }, - "trainingStartTime": { - "description": "Timestamp the model training was initiated.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaDataStore": { "description": "DataStore captures global settings and configs at the DataStore level.", "id": "GoogleCloudDiscoveryengineV1betaDataStore", @@ -17943,7 +17795,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -18509,20 +18361,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaListCustomModelsResponse": { - "description": "Response message for SearchTuningService.ListCustomModels method.", - "id": "GoogleCloudDiscoveryengineV1betaListCustomModelsResponse", - "properties": { - "models": { - "description": "List of custom tuning models.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaCustomTuningModel" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig": { "description": "Configuration for Natural Language Query Understanding.", "id": "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig", diff --git a/discoveryengine/v1/discoveryengine-gen.go b/discoveryengine/v1/discoveryengine-gen.go index 4a3a2d119c4..c95b45072df 100644 --- a/discoveryengine/v1/discoveryengine-gen.go +++ b/discoveryengine/v1/discoveryengine-gen.go @@ -5416,9 +5416,8 @@ type GoogleCloudDiscoveryengineV1Engine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -11563,60 +11562,6 @@ func (s GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec) MarshalJSON() ([] return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1alphaCustomTuningModel: Metadata that describes -// a custom tuned model. -type GoogleCloudDiscoveryengineV1alphaCustomTuningModel struct { - // CreateTime: Deprecated: Timestamp the Model was created at. - CreateTime string `json:"createTime,omitempty"` - // DisplayName: The display name of the model. - DisplayName string `json:"displayName,omitempty"` - // ErrorMessage: Currently this is only populated if the model state is - // `INPUT_VALIDATION_FAILED`. - ErrorMessage string `json:"errorMessage,omitempty"` - // Metrics: The metrics of the trained model. - Metrics map[string]float64 `json:"metrics,omitempty"` - // ModelState: The state that the model is in (e.g.`TRAINING` or - // `TRAINING_FAILED`). - // - // Possible values: - // "MODEL_STATE_UNSPECIFIED" - Default value. - // "TRAINING_PAUSED" - The model is in a paused training state. - // "TRAINING" - The model is currently training. - // "TRAINING_COMPLETE" - The model has successfully completed training. - // "READY_FOR_SERVING" - The model is ready for serving. - // "TRAINING_FAILED" - The model training failed. - // "NO_IMPROVEMENT" - The model training finished successfully but metrics - // did not improve. - // "INPUT_VALIDATION_FAILED" - Input data validation failed. Model training - // didn't start. - ModelState string `json:"modelState,omitempty"` - // ModelVersion: The version of the model. - ModelVersion int64 `json:"modelVersion,omitempty,string"` - // Name: Required. The fully qualified resource name of the model. Format: - // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ - // {data_store}/customTuningModels/{custom_tuning_model}`. Model must be an - // alpha-numerical string with limit of 40 characters. - Name string `json:"name,omitempty"` - // TrainingStartTime: Timestamp the model training was initiated. - TrainingStartTime string `json:"trainingStartTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1alphaCustomTuningModel) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1alphaCustomTuningModel - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1alphaDataStore: DataStore captures global // settings and configs at the DataStore level. type GoogleCloudDiscoveryengineV1alphaDataStore struct { @@ -12238,9 +12183,8 @@ type GoogleCloudDiscoveryengineV1alphaEngine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -13510,29 +13454,6 @@ func (s GoogleCloudDiscoveryengineV1alphaLanguageInfo) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse: Response message -// for SearchTuningService.ListCustomModels method. -type GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse struct { - // Models: List of custom tuning models. - Models []*GoogleCloudDiscoveryengineV1alphaCustomTuningModel `json:"models,omitempty"` - // ForceSendFields is a list of field names (e.g. "Models") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Models") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1alphaListSessionsRequest: Request for // ListSessions method. type GoogleCloudDiscoveryengineV1alphaListSessionsRequest struct { @@ -16645,60 +16566,6 @@ func (s GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1betaCustomTuningModel: Metadata that describes a -// custom tuned model. -type GoogleCloudDiscoveryengineV1betaCustomTuningModel struct { - // CreateTime: Deprecated: Timestamp the Model was created at. - CreateTime string `json:"createTime,omitempty"` - // DisplayName: The display name of the model. - DisplayName string `json:"displayName,omitempty"` - // ErrorMessage: Currently this is only populated if the model state is - // `INPUT_VALIDATION_FAILED`. - ErrorMessage string `json:"errorMessage,omitempty"` - // Metrics: The metrics of the trained model. - Metrics map[string]float64 `json:"metrics,omitempty"` - // ModelState: The state that the model is in (e.g.`TRAINING` or - // `TRAINING_FAILED`). - // - // Possible values: - // "MODEL_STATE_UNSPECIFIED" - Default value. - // "TRAINING_PAUSED" - The model is in a paused training state. - // "TRAINING" - The model is currently training. - // "TRAINING_COMPLETE" - The model has successfully completed training. - // "READY_FOR_SERVING" - The model is ready for serving. - // "TRAINING_FAILED" - The model training failed. - // "NO_IMPROVEMENT" - The model training finished successfully but metrics - // did not improve. - // "INPUT_VALIDATION_FAILED" - Input data validation failed. Model training - // didn't start. - ModelState string `json:"modelState,omitempty"` - // ModelVersion: The version of the model. - ModelVersion int64 `json:"modelVersion,omitempty,string"` - // Name: Required. The fully qualified resource name of the model. Format: - // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ - // {data_store}/customTuningModels/{custom_tuning_model}`. Model must be an - // alpha-numerical string with limit of 40 characters. - Name string `json:"name,omitempty"` - // TrainingStartTime: Timestamp the model training was initiated. - TrainingStartTime string `json:"trainingStartTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1betaCustomTuningModel) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1betaCustomTuningModel - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1betaDataStore: DataStore captures global // settings and configs at the DataStore level. type GoogleCloudDiscoveryengineV1betaDataStore struct { @@ -17252,9 +17119,8 @@ type GoogleCloudDiscoveryengineV1betaEngine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -18029,29 +17895,6 @@ func (s GoogleCloudDiscoveryengineV1betaLanguageInfo) MarshalJSON() ([]byte, err return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1betaListCustomModelsResponse: Response message -// for SearchTuningService.ListCustomModels method. -type GoogleCloudDiscoveryengineV1betaListCustomModelsResponse struct { - // Models: List of custom tuning models. - Models []*GoogleCloudDiscoveryengineV1betaCustomTuningModel `json:"models,omitempty"` - // ForceSendFields is a list of field names (e.g. "Models") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Models") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1betaListCustomModelsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1betaListCustomModelsResponse - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig: // Configuration for Natural Language Query Understanding. type GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig struct { diff --git a/discoveryengine/v1alpha/discoveryengine-api.json b/discoveryengine/v1alpha/discoveryengine-api.json index 23e27974a41..ed5b738067c 100644 --- a/discoveryengine/v1alpha/discoveryengine-api.json +++ b/discoveryengine/v1alpha/discoveryengine-api.json @@ -8156,7 +8156,7 @@ } } }, - "revision": "20241206", + "revision": "20241210", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -9325,7 +9325,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -13913,7 +13913,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -19574,73 +19574,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaCustomTuningModel": { - "description": "Metadata that describes a custom tuned model.", - "id": "GoogleCloudDiscoveryengineV1betaCustomTuningModel", - "properties": { - "createTime": { - "deprecated": true, - "description": "Deprecated: Timestamp the Model was created at.", - "format": "google-datetime", - "type": "string" - }, - "displayName": { - "description": "The display name of the model.", - "type": "string" - }, - "errorMessage": { - "description": "Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.", - "type": "string" - }, - "metrics": { - "additionalProperties": { - "format": "double", - "type": "number" - }, - "description": "The metrics of the trained model.", - "type": "object" - }, - "modelState": { - "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", - "enum": [ - "MODEL_STATE_UNSPECIFIED", - "TRAINING_PAUSED", - "TRAINING", - "TRAINING_COMPLETE", - "READY_FOR_SERVING", - "TRAINING_FAILED", - "NO_IMPROVEMENT", - "INPUT_VALIDATION_FAILED" - ], - "enumDescriptions": [ - "Default value.", - "The model is in a paused training state.", - "The model is currently training.", - "The model has successfully completed training.", - "The model is ready for serving.", - "The model training failed.", - "The model training finished successfully but metrics did not improve.", - "Input data validation failed. Model training didn't start." - ], - "type": "string" - }, - "modelVersion": { - "description": "The version of the model.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters.", - "type": "string" - }, - "trainingStartTime": { - "description": "Timestamp the model training was initiated.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaDataStore": { "description": "DataStore captures global settings and configs at the DataStore level.", "id": "GoogleCloudDiscoveryengineV1betaDataStore", @@ -20085,7 +20018,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -20651,20 +20584,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaListCustomModelsResponse": { - "description": "Response message for SearchTuningService.ListCustomModels method.", - "id": "GoogleCloudDiscoveryengineV1betaListCustomModelsResponse", - "properties": { - "models": { - "description": "List of custom tuning models.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaCustomTuningModel" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig": { "description": "Configuration for Natural Language Query Understanding.", "id": "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig", diff --git a/discoveryengine/v1alpha/discoveryengine-gen.go b/discoveryengine/v1alpha/discoveryengine-gen.go index 2713f2476db..2831e058cca 100644 --- a/discoveryengine/v1alpha/discoveryengine-gen.go +++ b/discoveryengine/v1alpha/discoveryengine-gen.go @@ -2789,9 +2789,8 @@ type GoogleCloudDiscoveryengineV1Engine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -9109,9 +9108,8 @@ type GoogleCloudDiscoveryengineV1alphaEngine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -17351,60 +17349,6 @@ func (s GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1betaCustomTuningModel: Metadata that describes a -// custom tuned model. -type GoogleCloudDiscoveryengineV1betaCustomTuningModel struct { - // CreateTime: Deprecated: Timestamp the Model was created at. - CreateTime string `json:"createTime,omitempty"` - // DisplayName: The display name of the model. - DisplayName string `json:"displayName,omitempty"` - // ErrorMessage: Currently this is only populated if the model state is - // `INPUT_VALIDATION_FAILED`. - ErrorMessage string `json:"errorMessage,omitempty"` - // Metrics: The metrics of the trained model. - Metrics map[string]float64 `json:"metrics,omitempty"` - // ModelState: The state that the model is in (e.g.`TRAINING` or - // `TRAINING_FAILED`). - // - // Possible values: - // "MODEL_STATE_UNSPECIFIED" - Default value. - // "TRAINING_PAUSED" - The model is in a paused training state. - // "TRAINING" - The model is currently training. - // "TRAINING_COMPLETE" - The model has successfully completed training. - // "READY_FOR_SERVING" - The model is ready for serving. - // "TRAINING_FAILED" - The model training failed. - // "NO_IMPROVEMENT" - The model training finished successfully but metrics - // did not improve. - // "INPUT_VALIDATION_FAILED" - Input data validation failed. Model training - // didn't start. - ModelState string `json:"modelState,omitempty"` - // ModelVersion: The version of the model. - ModelVersion int64 `json:"modelVersion,omitempty,string"` - // Name: Required. The fully qualified resource name of the model. Format: - // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ - // {data_store}/customTuningModels/{custom_tuning_model}`. Model must be an - // alpha-numerical string with limit of 40 characters. - Name string `json:"name,omitempty"` - // TrainingStartTime: Timestamp the model training was initiated. - TrainingStartTime string `json:"trainingStartTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1betaCustomTuningModel) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1betaCustomTuningModel - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1betaDataStore: DataStore captures global // settings and configs at the DataStore level. type GoogleCloudDiscoveryengineV1betaDataStore struct { @@ -17958,9 +17902,8 @@ type GoogleCloudDiscoveryengineV1betaEngine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -18735,29 +18678,6 @@ func (s GoogleCloudDiscoveryengineV1betaLanguageInfo) MarshalJSON() ([]byte, err return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1betaListCustomModelsResponse: Response message -// for SearchTuningService.ListCustomModels method. -type GoogleCloudDiscoveryengineV1betaListCustomModelsResponse struct { - // Models: List of custom tuning models. - Models []*GoogleCloudDiscoveryengineV1betaCustomTuningModel `json:"models,omitempty"` - // ForceSendFields is a list of field names (e.g. "Models") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Models") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1betaListCustomModelsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1betaListCustomModelsResponse - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig: // Configuration for Natural Language Query Understanding. type GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig struct { diff --git a/discoveryengine/v1beta/discoveryengine-api.json b/discoveryengine/v1beta/discoveryengine-api.json index e32b7048395..d66a16f6cef 100644 --- a/discoveryengine/v1beta/discoveryengine-api.json +++ b/discoveryengine/v1beta/discoveryengine-api.json @@ -7354,7 +7354,7 @@ } } }, - "revision": "20241206", + "revision": "20241210", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -8523,7 +8523,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -10719,73 +10719,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1alphaCustomTuningModel": { - "description": "Metadata that describes a custom tuned model.", - "id": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel", - "properties": { - "createTime": { - "deprecated": true, - "description": "Deprecated: Timestamp the Model was created at.", - "format": "google-datetime", - "type": "string" - }, - "displayName": { - "description": "The display name of the model.", - "type": "string" - }, - "errorMessage": { - "description": "Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.", - "type": "string" - }, - "metrics": { - "additionalProperties": { - "format": "double", - "type": "number" - }, - "description": "The metrics of the trained model.", - "type": "object" - }, - "modelState": { - "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", - "enum": [ - "MODEL_STATE_UNSPECIFIED", - "TRAINING_PAUSED", - "TRAINING", - "TRAINING_COMPLETE", - "READY_FOR_SERVING", - "TRAINING_FAILED", - "NO_IMPROVEMENT", - "INPUT_VALIDATION_FAILED" - ], - "enumDescriptions": [ - "Default value.", - "The model is in a paused training state.", - "The model is currently training.", - "The model has successfully completed training.", - "The model is ready for serving.", - "The model training failed.", - "The model training finished successfully but metrics did not improve.", - "Input data validation failed. Model training didn't start." - ], - "type": "string" - }, - "modelVersion": { - "description": "The version of the model.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters.", - "type": "string" - }, - "trainingStartTime": { - "description": "Timestamp the model training was initiated.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1alphaDataStore": { "description": "DataStore captures global settings and configs at the DataStore level.", "id": "GoogleCloudDiscoveryengineV1alphaDataStore", @@ -11265,7 +11198,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", @@ -12204,20 +12137,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse": { - "description": "Response message for SearchTuningService.ListCustomModels method.", - "id": "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse", - "properties": { - "models": { - "description": "List of custom tuning models.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1alphaListSessionsRequest": { "description": "Request for ListSessions method.", "id": "GoogleCloudDiscoveryengineV1alphaListSessionsRequest", @@ -17145,7 +17064,7 @@ "type": "string" }, "industryVertical": { - "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.", + "description": "The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", "enum": [ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", diff --git a/discoveryengine/v1beta/discoveryengine-gen.go b/discoveryengine/v1beta/discoveryengine-gen.go index 36a615c0eb5..d09689dcee4 100644 --- a/discoveryengine/v1beta/discoveryengine-gen.go +++ b/discoveryengine/v1beta/discoveryengine-gen.go @@ -2717,9 +2717,8 @@ type GoogleCloudDiscoveryengineV1Engine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -5693,60 +5692,6 @@ func (s GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec) MarshalJSON() ([] return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1alphaCustomTuningModel: Metadata that describes -// a custom tuned model. -type GoogleCloudDiscoveryengineV1alphaCustomTuningModel struct { - // CreateTime: Deprecated: Timestamp the Model was created at. - CreateTime string `json:"createTime,omitempty"` - // DisplayName: The display name of the model. - DisplayName string `json:"displayName,omitempty"` - // ErrorMessage: Currently this is only populated if the model state is - // `INPUT_VALIDATION_FAILED`. - ErrorMessage string `json:"errorMessage,omitempty"` - // Metrics: The metrics of the trained model. - Metrics map[string]float64 `json:"metrics,omitempty"` - // ModelState: The state that the model is in (e.g.`TRAINING` or - // `TRAINING_FAILED`). - // - // Possible values: - // "MODEL_STATE_UNSPECIFIED" - Default value. - // "TRAINING_PAUSED" - The model is in a paused training state. - // "TRAINING" - The model is currently training. - // "TRAINING_COMPLETE" - The model has successfully completed training. - // "READY_FOR_SERVING" - The model is ready for serving. - // "TRAINING_FAILED" - The model training failed. - // "NO_IMPROVEMENT" - The model training finished successfully but metrics - // did not improve. - // "INPUT_VALIDATION_FAILED" - Input data validation failed. Model training - // didn't start. - ModelState string `json:"modelState,omitempty"` - // ModelVersion: The version of the model. - ModelVersion int64 `json:"modelVersion,omitempty,string"` - // Name: Required. The fully qualified resource name of the model. Format: - // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ - // {data_store}/customTuningModels/{custom_tuning_model}`. Model must be an - // alpha-numerical string with limit of 40 characters. - Name string `json:"name,omitempty"` - // TrainingStartTime: Timestamp the model training was initiated. - TrainingStartTime string `json:"trainingStartTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1alphaCustomTuningModel) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1alphaCustomTuningModel - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1alphaDataStore: DataStore captures global // settings and configs at the DataStore level. type GoogleCloudDiscoveryengineV1alphaDataStore struct { @@ -6368,9 +6313,8 @@ type GoogleCloudDiscoveryengineV1alphaEngine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. @@ -7640,29 +7584,6 @@ func (s GoogleCloudDiscoveryengineV1alphaLanguageInfo) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse: Response message -// for SearchTuningService.ListCustomModels method. -type GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse struct { - // Models: List of custom tuning models. - Models []*GoogleCloudDiscoveryengineV1alphaCustomTuningModel `json:"models,omitempty"` - // ForceSendFields is a list of field names (e.g. "Models") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Models") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // GoogleCloudDiscoveryengineV1alphaListSessionsRequest: Request for // ListSessions method. type GoogleCloudDiscoveryengineV1alphaListSessionsRequest struct { @@ -14533,9 +14454,8 @@ type GoogleCloudDiscoveryengineV1betaEngine struct { // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The - // restriction of the Engine industry vertical is based on DataStore: If - // unspecified, default to `GENERIC`. Vertical on Engine has to match vertical - // of the DataStore linked to the engine. + // restriction of the Engine industry vertical is based on DataStore: Vertical + // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. diff --git a/drive/v3/drive-api.json b/drive/v3/drive-api.json index 1a8350e326b..b79c12ed296 100644 --- a/drive/v3/drive-api.json +++ b/drive/v3/drive-api.json @@ -133,7 +133,7 @@ "about": { "methods": { "get": { - "description": "Gets information about the user, the user's Drive, and system capabilities.", + "description": "Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).", "flatPath": "about", "httpMethod": "GET", "id": "drive.about.get", @@ -268,7 +268,7 @@ "apps": { "methods": { "get": { - "description": "Gets a specific app.", + "description": "Gets a specific app. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info).", "flatPath": "apps/{appId}", "httpMethod": "GET", "id": "drive.apps.get", @@ -298,7 +298,7 @@ ] }, "list": { - "description": "Lists a user's installed apps.", + "description": "Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info).", "flatPath": "apps", "httpMethod": "GET", "id": "drive.apps.list", @@ -335,7 +335,7 @@ "changes": { "methods": { "getStartPageToken": { - "description": "Gets the starting pageToken for listing future changes.", + "description": "Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-changes).", "flatPath": "changes/startPageToken", "httpMethod": "GET", "id": "drive.changes.getStartPageToken", @@ -382,7 +382,7 @@ ] }, "list": { - "description": "Lists the changes for a user or shared drive.", + "description": "Lists the changes for a user or shared drive. For more information, see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-changes).", "flatPath": "changes", "httpMethod": "GET", "id": "drive.changes.list", @@ -494,7 +494,7 @@ "supportsSubscription": true }, "watch": { - "description": "Subscribes to changes for a user.", + "description": "Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/drive/api/guides/push).", "flatPath": "changes/watch", "httpMethod": "POST", "id": "drive.changes.watch", @@ -614,7 +614,7 @@ "channels": { "methods": { "stop": { - "description": "Stops watching resources through this channel.", + "description": "Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/drive/api/guides/push).", "flatPath": "channels/stop", "httpMethod": "POST", "id": "drive.channels.stop", @@ -641,7 +641,7 @@ "comments": { "methods": { "create": { - "description": "Creates a comment on a file.", + "description": "Creates a comment on a file. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).", "flatPath": "files/{fileId}/comments", "httpMethod": "POST", "id": "drive.comments.create", @@ -669,7 +669,7 @@ ] }, "delete": { - "description": "Deletes a comment.", + "description": "Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).", "flatPath": "files/{fileId}/comments/{commentId}", "httpMethod": "DELETE", "id": "drive.comments.delete", @@ -698,7 +698,7 @@ ] }, "get": { - "description": "Gets a comment by ID.", + "description": "Gets a comment by ID. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).", "flatPath": "files/{fileId}/comments/{commentId}", "httpMethod": "GET", "id": "drive.comments.get", @@ -738,7 +738,7 @@ ] }, "list": { - "description": "Lists a file's comments.", + "description": "Lists a file's comments. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).", "flatPath": "files/{fileId}/comments", "httpMethod": "GET", "id": "drive.comments.list", @@ -790,7 +790,7 @@ ] }, "update": { - "description": "Updates a comment with patch semantics.", + "description": "Updates a comment with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).", "flatPath": "files/{fileId}/comments/{commentId}", "httpMethod": "PATCH", "id": "drive.comments.update", @@ -2774,7 +2774,7 @@ } } }, - "revision": "20241117", + "revision": "20241206", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -4620,7 +4620,7 @@ "type": "object" }, "Permission": { - "description": "A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. Some resource methods (such as `permissions.update`) require a `permissionId`. Use the `permissions.list` method to retrieve the ID for a file, folder, or shared drive.", + "description": "A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. By default, permissions requests only return a subset of fields. Permission kind, ID, type, and role are always returned. To retrieve specific fields, see https://developers.google.com/drive/api/guides/fields-parameter. Some resource methods (such as `permissions.update`) require a `permissionId`. Use the `permissions.list` method to retrieve the ID for a file, folder, or shared drive.", "id": "Permission", "properties": { "allowFileDiscovery": { diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index 924c63bf7b1..41bdc8477f5 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -2414,10 +2414,13 @@ func (s Operation) MarshalJSON() ([]byte, error) { } // Permission: A permission for a file. A permission grants a user, group, -// domain, or the world access to a file or a folder hierarchy. Some resource -// methods (such as `permissions.update`) require a `permissionId`. Use the -// `permissions.list` method to retrieve the ID for a file, folder, or shared -// drive. +// domain, or the world access to a file or a folder hierarchy. By default, +// permissions requests only return a subset of fields. Permission kind, ID, +// type, and role are always returned. To retrieve specific fields, see +// https://developers.google.com/drive/api/guides/fields-parameter. Some +// resource methods (such as `permissions.update`) require a `permissionId`. +// Use the `permissions.list` method to retrieve the ID for a file, folder, or +// shared drive. type Permission struct { // AllowFileDiscovery: Whether the permission allows the file to be discovered // through search. This is only applicable for permissions of type `domain` or @@ -3215,7 +3218,11 @@ type AboutGetCall struct { } // Get: Gets information about the user, the user's Drive, and system -// capabilities. +// capabilities. For more information, see Return user info +// (https://developers.google.com/drive/api/guides/user-info). Required: The +// `fields` parameter must be set. To return the exact fields you need, see +// Return specific fields +// (https://developers.google.com/drive/api/guides/fields-parameter). func (r *AboutService) Get() *AboutGetCall { c := &AboutGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} return c @@ -3654,7 +3661,8 @@ type AppsGetCall struct { header_ http.Header } -// Get: Gets a specific app. +// Get: Gets a specific app. For more information, see Return user info +// (https://developers.google.com/drive/api/guides/user-info). // // - appId: The ID of the app. func (r *AppsService) Get(appId string) *AppsGetCall { @@ -3760,7 +3768,8 @@ type AppsListCall struct { header_ http.Header } -// List: Lists a user's installed apps. +// List: Lists a user's installed apps. For more information, see Return user +// info (https://developers.google.com/drive/api/guides/user-info). func (r *AppsService) List() *AppsListCall { c := &AppsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} return c @@ -3889,6 +3898,8 @@ type ChangesGetStartPageTokenCall struct { } // GetStartPageToken: Gets the starting pageToken for listing future changes. +// For more information, see Retrieve changes +// (https://developers.google.com/drive/api/guides/manage-changes). func (r *ChangesService) GetStartPageToken() *ChangesGetStartPageTokenCall { c := &ChangesGetStartPageTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)} return c @@ -4017,7 +4028,9 @@ type ChangesListCall struct { header_ http.Header } -// List: Lists the changes for a user or shared drive. +// List: Lists the changes for a user or shared drive. For more information, +// see Retrieve changes +// (https://developers.google.com/drive/api/guides/manage-changes). // // - pageToken: The token for continuing a previous list request on the next // page. This should be set to the value of 'nextPageToken' from the previous @@ -4223,7 +4236,9 @@ type ChangesWatchCall struct { header_ http.Header } -// Watch: Subscribes to changes for a user. +// Watch: Subscribes to changes for a user. For more information, see +// Notifications for resource changes +// (https://developers.google.com/drive/api/guides/push). // // - pageToken: The token for continuing a previous list request on the next // page. This should be set to the value of 'nextPageToken' from the previous @@ -4423,7 +4438,9 @@ type ChannelsStopCall struct { header_ http.Header } -// Stop: Stops watching resources through this channel. +// Stop: Stops watching resources through this channel. For more information, +// see Notifications for resource changes +// (https://developers.google.com/drive/api/guides/push). func (r *ChannelsService) Stop(channel *Channel) *ChannelsStopCall { c := &ChannelsStopCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.channel = channel @@ -4495,7 +4512,12 @@ type CommentsCreateCall struct { header_ http.Header } -// Create: Creates a comment on a file. +// Create: Creates a comment on a file. For more information, see Manage +// comments and replies +// (https://developers.google.com/drive/api/guides/manage-comments). Required: +// The `fields` parameter must be set. To return the exact fields you need, see +// Return specific fields +// (https://developers.google.com/drive/api/guides/fields-parameter). // // - fileId: The ID of the file. func (r *CommentsService) Create(fileId string, comment *Comment) *CommentsCreateCall { @@ -4596,7 +4618,11 @@ type CommentsDeleteCall struct { header_ http.Header } -// Delete: Deletes a comment. +// Delete: Deletes a comment. For more information, see Manage comments and +// replies (https://developers.google.com/drive/api/guides/manage-comments). +// Required: The `fields` parameter must be set. To return the exact fields you +// need, see Return specific fields +// (https://developers.google.com/drive/api/guides/fields-parameter). // // - commentId: The ID of the comment. // - fileId: The ID of the file. @@ -4673,7 +4699,11 @@ type CommentsGetCall struct { header_ http.Header } -// Get: Gets a comment by ID. +// Get: Gets a comment by ID. For more information, see Manage comments and +// replies (https://developers.google.com/drive/api/guides/manage-comments). +// Required: The `fields` parameter must be set. To return the exact fields you +// need, see Return specific fields +// (https://developers.google.com/drive/api/guides/fields-parameter). // // - commentId: The ID of the comment. // - fileId: The ID of the file. @@ -4791,7 +4821,11 @@ type CommentsListCall struct { header_ http.Header } -// List: Lists a file's comments. +// List: Lists a file's comments. For more information, see Manage comments and +// replies (https://developers.google.com/drive/api/guides/manage-comments). +// Required: The `fields` parameter must be set. To return the exact fields you +// need, see Return specific fields +// (https://developers.google.com/drive/api/guides/fields-parameter). // // - fileId: The ID of the file. func (r *CommentsService) List(fileId string) *CommentsListCall { @@ -4951,7 +4985,12 @@ type CommentsUpdateCall struct { header_ http.Header } -// Update: Updates a comment with patch semantics. +// Update: Updates a comment with patch semantics. For more information, see +// Manage comments and replies +// (https://developers.google.com/drive/api/guides/manage-comments). Required: +// The `fields` parameter must be set. To return the exact fields you need, see +// Return specific fields +// (https://developers.google.com/drive/api/guides/fields-parameter). // // - commentId: The ID of the comment. // - fileId: The ID of the file. diff --git a/games/v1/games-api.json b/games/v1/games-api.json index 4dded9a557a..7f83e67eb37 100644 --- a/games/v1/games-api.json +++ b/games/v1/games-api.json @@ -18,7 +18,7 @@ "baseUrl": "https://games.googleapis.com/", "batchPath": "batch", "canonicalName": "Games", - "description": "The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.", + "description": "The Google Play Games Service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/", "icons": { @@ -1469,7 +1469,7 @@ } } }, - "revision": "20240701", + "revision": "20241209", "rootUrl": "https://games.googleapis.com/", "schemas": { "AchievementDefinition": { diff --git a/gamesmanagement/v1management/gamesmanagement-api.json b/gamesmanagement/v1management/gamesmanagement-api.json index c94f4e47fd6..05cb1cb91c4 100644 --- a/gamesmanagement/v1management/gamesmanagement-api.json +++ b/gamesmanagement/v1management/gamesmanagement-api.json @@ -12,7 +12,7 @@ "baseUrl": "https://gamesmanagement.googleapis.com/", "batchPath": "batch", "canonicalName": "Games Management", - "description": "The Google Play Game Management API allows developers to manage resources from the Google Play Game service.", + "description": "The Google Play Games Management API allows developers to manage resources from the Google Play Game service.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/games/", "icons": { @@ -471,7 +471,7 @@ } } }, - "revision": "20200811", + "revision": "20241209", "rootUrl": "https://gamesmanagement.googleapis.com/", "schemas": { "AchievementResetAllResponse": { diff --git a/identitytoolkit/v1/identitytoolkit-api.json b/identitytoolkit/v1/identitytoolkit-api.json index daabd36075e..407693e78a7 100644 --- a/identitytoolkit/v1/identitytoolkit-api.json +++ b/identitytoolkit/v1/identitytoolkit-api.json @@ -1239,7 +1239,7 @@ } } }, - "revision": "20241024", + "revision": "20241205", "rootUrl": "https://identitytoolkit.googleapis.com/", "schemas": { "GoogleCloudIdentitytoolkitV1Argon2Parameters": { @@ -2361,7 +2361,7 @@ "id": "GoogleCloudIdentitytoolkitV1ResetPasswordRequest", "properties": { "email": { - "description": "The email of the account to be modified. Specify this and the old password in order to change an account's password without using an out-of-band code.", + "description": "Optional. The email of the account to be modified. Specify this and the old password in order to change an account's password without using an out-of-band code.", "type": "string" }, "newPassword": { @@ -2377,7 +2377,7 @@ "type": "string" }, "tenantId": { - "description": "The tenant ID of the Identity Platform tenant the account belongs to.", + "description": "Optional. The tenant ID of the Identity Platform tenant the account belongs to.", "type": "string" } }, diff --git a/identitytoolkit/v1/identitytoolkit-gen.go b/identitytoolkit/v1/identitytoolkit-gen.go index 026690d67fe..4230777b891 100644 --- a/identitytoolkit/v1/identitytoolkit-gen.go +++ b/identitytoolkit/v1/identitytoolkit-gen.go @@ -1537,8 +1537,8 @@ func (s GoogleCloudIdentitytoolkitV1QueryUserInfoResponse) MarshalJSON() ([]byte // GoogleCloudIdentitytoolkitV1ResetPasswordRequest: Request message for // ResetPassword. type GoogleCloudIdentitytoolkitV1ResetPasswordRequest struct { - // Email: The email of the account to be modified. Specify this and the old - // password in order to change an account's password without using an + // Email: Optional. The email of the account to be modified. Specify this and + // the old password in order to change an account's password without using an // out-of-band code. Email string `json:"email,omitempty"` // NewPassword: The new password to be set for this account. Specifying this @@ -1555,8 +1555,8 @@ type GoogleCloudIdentitytoolkitV1ResetPasswordRequest struct { // state. Only a PASSWORD_RESET out-of-band code can be consumed via this // method. OobCode string `json:"oobCode,omitempty"` - // TenantId: The tenant ID of the Identity Platform tenant the account belongs - // to. + // TenantId: Optional. The tenant ID of the Identity Platform tenant the + // account belongs to. TenantId string `json:"tenantId,omitempty"` // ForceSendFields is a list of field names (e.g. "Email") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/merchantapi/accounts_v1beta/merchantapi-api.json b/merchantapi/accounts_v1beta/merchantapi-api.json index 3c3e8dd76b7..1ce0e9e5165 100644 --- a/merchantapi/accounts_v1beta/merchantapi-api.json +++ b/merchantapi/accounts_v1beta/merchantapi-api.json @@ -1417,7 +1417,7 @@ } } }, - "revision": "20241124", + "revision": "20241210", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Accepted": { @@ -1538,7 +1538,7 @@ "description": "The provider is an [aggregator](https://support.google.com/merchants/answer/188487) for the account. Payload for service type Account Aggregation." }, "provider": { - "description": "Required. The provider of the service. Format: `accounts/{account}`", + "description": "Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", "type": "string" } }, diff --git a/merchantapi/accounts_v1beta/merchantapi-gen.go b/merchantapi/accounts_v1beta/merchantapi-gen.go index 3f4acc6fbee..c86b58e702f 100644 --- a/merchantapi/accounts_v1beta/merchantapi-gen.go +++ b/merchantapi/accounts_v1beta/merchantapi-gen.go @@ -456,8 +456,9 @@ type AddAccountService struct { // (https://support.google.com/merchants/answer/188487) for the account. // Payload for service type Account Aggregation. AccountAggregation *AccountAggregation `json:"accountAggregation,omitempty"` - // Provider: Required. The provider of the service. Format: - // `accounts/{account}` + // Provider: Required. The provider of the service. Either the reference to an + // account such as `providers/123` or a well-known service provider (one of + // `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). Provider string `json:"provider,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountAggregation") to // unconditionally include in API requests. By default, fields with empty or diff --git a/ondemandscanning/v1/ondemandscanning-api.json b/ondemandscanning/v1/ondemandscanning-api.json index 6a954a1a837..4df4940cb7c 100644 --- a/ondemandscanning/v1/ondemandscanning-api.json +++ b/ondemandscanning/v1/ondemandscanning-api.json @@ -112,7 +112,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "ondemandscanning.projects.locations.operations.cancel", @@ -339,7 +339,7 @@ } } }, - "revision": "20240715", + "revision": "20241209", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { diff --git a/ondemandscanning/v1/ondemandscanning-gen.go b/ondemandscanning/v1/ondemandscanning-gen.go index e30c80282de..2830adf5e4f 100644 --- a/ondemandscanning/v1/ondemandscanning-gen.go +++ b/ondemandscanning/v1/ondemandscanning-gen.go @@ -3338,7 +3338,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/ondemandscanning/v1beta1/ondemandscanning-api.json b/ondemandscanning/v1beta1/ondemandscanning-api.json index 2732e38a5b5..ead5c1ab888 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-api.json +++ b/ondemandscanning/v1beta1/ondemandscanning-api.json @@ -112,7 +112,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "ondemandscanning.projects.locations.operations.cancel", @@ -339,7 +339,7 @@ } } }, - "revision": "20240715", + "revision": "20241209", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { diff --git a/ondemandscanning/v1beta1/ondemandscanning-gen.go b/ondemandscanning/v1beta1/ondemandscanning-gen.go index 01bebca4c9b..eaa0358fce8 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-gen.go +++ b/ondemandscanning/v1beta1/ondemandscanning-gen.go @@ -3334,7 +3334,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index 967c695ad83..876df37a026 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -2246,7 +2246,7 @@ } } }, - "revision": "20241114", + "revision": "20241205", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3435,7 +3435,7 @@ "type": "object" }, "GoogleCloudRetailV2Image": { - "description": "Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.", + "description": "Product image. Recommendations AI and Retail Search use product images to improve prediction and search results. Product images can be returned in results, and are shown in prediction or search previews in the console. Please try to provide correct product images and avoid using images with size too small.", "id": "GoogleCloudRetailV2Image", "properties": { "height": { diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index e06de2f9491..aced631d6ea 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -2225,9 +2225,10 @@ func (s GoogleCloudRetailV2GetDefaultBranchResponse) MarshalJSON() ([]byte, erro } // GoogleCloudRetailV2Image: Product image. Recommendations AI and Retail -// Search do not use product images to improve prediction and search results. -// However, product images can be returned in results, and are shown in -// prediction or search previews in the console. +// Search use product images to improve prediction and search results. Product +// images can be returned in results, and are shown in prediction or search +// previews in the console. Please try to provide correct product images and +// avoid using images with size too small. type GoogleCloudRetailV2Image struct { // Height: Height of the image in number of pixels. This field must be // nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index 05cef87ea9b..46fc9f7b72a 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -2767,7 +2767,7 @@ } } }, - "revision": "20241114", + "revision": "20241205", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -4902,7 +4902,7 @@ "type": "object" }, "GoogleCloudRetailV2alphaImage": { - "description": "Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.", + "description": "Product image. Recommendations AI and Retail Search use product images to improve prediction and search results. Product images can be returned in results, and are shown in prediction or search previews in the console. Please try to provide correct product images and avoid using images with size too small.", "id": "GoogleCloudRetailV2alphaImage", "properties": { "height": { diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index 15c10ac82c4..3d50aeb53ca 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -3653,9 +3653,10 @@ func (s GoogleCloudRetailV2alphaGetDefaultBranchResponse) MarshalJSON() ([]byte, } // GoogleCloudRetailV2alphaImage: Product image. Recommendations AI and Retail -// Search do not use product images to improve prediction and search results. -// However, product images can be returned in results, and are shown in -// prediction or search previews in the console. +// Search use product images to improve prediction and search results. Product +// images can be returned in results, and are shown in prediction or search +// previews in the console. Please try to provide correct product images and +// avoid using images with size too small. type GoogleCloudRetailV2alphaImage struct { // Height: Height of the image in number of pixels. This field must be // nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index 3f3a67a1112..15a25d05519 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -2391,7 +2391,7 @@ } } }, - "revision": "20241114", + "revision": "20241205", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -5168,7 +5168,7 @@ "type": "object" }, "GoogleCloudRetailV2betaImage": { - "description": "Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.", + "description": "Product image. Recommendations AI and Retail Search use product images to improve prediction and search results. Product images can be returned in results, and are shown in prediction or search previews in the console. Please try to provide correct product images and avoid using images with size too small.", "id": "GoogleCloudRetailV2betaImage", "properties": { "height": { diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index 3cd5ae3b878..0eae8640da1 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -4523,9 +4523,10 @@ func (s GoogleCloudRetailV2betaGetDefaultBranchResponse) MarshalJSON() ([]byte, } // GoogleCloudRetailV2betaImage: Product image. Recommendations AI and Retail -// Search do not use product images to improve prediction and search results. -// However, product images can be returned in results, and are shown in -// prediction or search previews in the console. +// Search use product images to improve prediction and search results. Product +// images can be returned in results, and are shown in prediction or search +// previews in the console. Please try to provide correct product images and +// avoid using images with size too small. type GoogleCloudRetailV2betaImage struct { // Height: Height of the image in number of pixels. This field must be // nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. diff --git a/run/v2/run-api.json b/run/v2/run-api.json index 601d5a41804..57d8b2e0744 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1526,7 +1526,7 @@ } } }, - "revision": "20241115", + "revision": "20241206", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -3428,6 +3428,11 @@ "description": "Scaling settings applied at the service level rather than at the revision level.", "id": "GoogleCloudRunV2ServiceScaling", "properties": { + "manualInstanceCount": { + "description": "Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.", + "format": "int32", + "type": "integer" + }, "minInstanceCount": { "description": "Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.", "format": "int32", diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index 1e98a652b22..7a6b1c4da54 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -2415,6 +2415,10 @@ func (s GoogleCloudRunV2ServiceMesh) MarshalJSON() ([]byte, error) { // GoogleCloudRunV2ServiceScaling: Scaling settings applied at the service // level rather than at the revision level. type GoogleCloudRunV2ServiceScaling struct { + // ManualInstanceCount: Optional. total instance count for the service in + // manual scaling mode. This number of instances is divided among all revisions + // with specified traffic based on the percent of traffic they are receiving. + ManualInstanceCount int64 `json:"manualInstanceCount,omitempty"` // MinInstanceCount: Optional. total min instances for the service. This number // of instances is divided among all revisions with specified traffic based on // the percent of traffic they are receiving. @@ -2426,15 +2430,15 @@ type GoogleCloudRunV2ServiceScaling struct { // "AUTOMATIC" - Scale based on traffic between min and max instances. // "MANUAL" - Scale to exactly min instances and ignore max instances. ScalingMode string `json:"scalingMode,omitempty"` - // ForceSendFields is a list of field names (e.g. "MinInstanceCount") to + // ForceSendFields is a list of field names (e.g. "ManualInstanceCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MinInstanceCount") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "ManualInstanceCount") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index 5365c096840..ff84de51051 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -5938,7 +5938,7 @@ } } }, - "revision": "20241205", + "revision": "20241206", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -7288,6 +7288,40 @@ }, "type": "object" }, + "DataRetentionDeletionEvent": { + "description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", + "id": "DataRetentionDeletionEvent", + "properties": { + "dataObjectCount": { + "description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", + "format": "int64", + "type": "string" + }, + "eventDetectionTime": { + "description": "Timestamp indicating when the event was detected.", + "format": "google-datetime", + "type": "string" + }, + "eventType": { + "description": "Type of the DRD event.", + "enum": [ + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED" + ], + "enumDescriptions": [ + "Unspecified event type.", + "The maximum retention time has been exceeded." + ], + "type": "string" + }, + "maxRetentionAllowed": { + "description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "Database": { "description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", "id": "Database", @@ -7739,6 +7773,13 @@ }, "type": "array" }, + "dataRetentionDeletionEvents": { + "description": "Data retention deletion events associated with the finding.", + "items": { + "$ref": "DataRetentionDeletionEvent" + }, + "type": "array" + }, "database": { "$ref": "Database", "description": "Database associated with the finding." @@ -9958,6 +9999,40 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent": { + "description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", + "id": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent", + "properties": { + "dataObjectCount": { + "description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", + "format": "int64", + "type": "string" + }, + "eventDetectionTime": { + "description": "Timestamp indicating when the event was detected.", + "format": "google-datetime", + "type": "string" + }, + "eventType": { + "description": "Type of the DRD event.", + "enum": [ + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED" + ], + "enumDescriptions": [ + "Unspecified event type.", + "The maximum retention time has been exceeded." + ], + "type": "string" + }, + "maxRetentionAllowed": { + "description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2Database": { "description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", "id": "GoogleCloudSecuritycenterV2Database", @@ -10294,6 +10369,13 @@ }, "type": "array" }, + "dataRetentionDeletionEvents": { + "description": "Data retention deletion events associated with the finding.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent" + }, + "type": "array" + }, "database": { "$ref": "GoogleCloudSecuritycenterV2Database", "description": "Database associated with the finding." diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index a511b0fafbb..5cbab89809e 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -2663,6 +2663,55 @@ func (s DataFlowEvent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// DataRetentionDeletionEvent: Details about data retention deletion +// violations, in which the data is non-compliant based on their retention or +// deletion time, as defined in the applicable data security policy. The Data +// Retention Deletion (DRD) control is a control of the DSPM (Data Security +// Posture Management) suite that enables organizations to manage data +// retention and deletion policies in compliance with regulations, such as GDPR +// and CRPA. DRD supports two primary policy types: maximum storage length (max +// TTL) and minimum storage length (min TTL). Both are aimed at helping +// organizations meet regulatory and data management commitments. +type DataRetentionDeletionEvent struct { + // DataObjectCount: Number of objects that violated the policy for this + // resource. If the number is less than 1,000, then the value of this field is + // the exact number. If the number of objects that violated the policy is + // greater than or equal to 1,000, then the value of this field is 1000. + DataObjectCount int64 `json:"dataObjectCount,omitempty,string"` + // EventDetectionTime: Timestamp indicating when the event was detected. + EventDetectionTime string `json:"eventDetectionTime,omitempty"` + // EventType: Type of the DRD event. + // + // Possible values: + // "EVENT_TYPE_UNSPECIFIED" - Unspecified event type. + // "EVENT_TYPE_MAX_TTL_EXCEEDED" - The maximum retention time has been + // exceeded. + EventType string `json:"eventType,omitempty"` + // MaxRetentionAllowed: Maximum duration of retention allowed from the DRD + // control. This comes from the DRD control where users set a max TTL for their + // data. For example, suppose that a user set the max TTL for a Cloud Storage + // bucket to 90 days. However, an object in that bucket is 100 days old. In + // this case, a DataRetentionDeletionEvent will be generated for that Cloud + // Storage bucket, and the max_retention_allowed is 90 days. + MaxRetentionAllowed string `json:"maxRetentionAllowed,omitempty"` + // ForceSendFields is a list of field names (e.g. "DataObjectCount") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DataObjectCount") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s DataRetentionDeletionEvent) MarshalJSON() ([]byte, error) { + type NoMethod DataRetentionDeletionEvent + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Database: Represents database access information, such as queries. A // database may be a sub-resource of an instance (as in the case of Cloud SQL // instances or Cloud Spanner instances), or the database instance itself. Some @@ -3206,6 +3255,9 @@ type Finding struct { DataAccessEvents []*DataAccessEvent `json:"dataAccessEvents,omitempty"` // DataFlowEvents: Data flow events associated with the finding. DataFlowEvents []*DataFlowEvent `json:"dataFlowEvents,omitempty"` + // DataRetentionDeletionEvents: Data retention deletion events associated with + // the finding. + DataRetentionDeletionEvents []*DataRetentionDeletionEvent `json:"dataRetentionDeletionEvents,omitempty"` // Database: Database associated with the finding. Database *Database `json:"database,omitempty"` // Description: Contains more details about the finding. @@ -5879,6 +5931,56 @@ func (s GoogleCloudSecuritycenterV2DataFlowEvent) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV2DataRetentionDeletionEvent: Details about data +// retention deletion violations, in which the data is non-compliant based on +// their retention or deletion time, as defined in the applicable data security +// policy. The Data Retention Deletion (DRD) control is a control of the DSPM +// (Data Security Posture Management) suite that enables organizations to +// manage data retention and deletion policies in compliance with regulations, +// such as GDPR and CRPA. DRD supports two primary policy types: maximum +// storage length (max TTL) and minimum storage length (min TTL). Both are +// aimed at helping organizations meet regulatory and data management +// commitments. +type GoogleCloudSecuritycenterV2DataRetentionDeletionEvent struct { + // DataObjectCount: Number of objects that violated the policy for this + // resource. If the number is less than 1,000, then the value of this field is + // the exact number. If the number of objects that violated the policy is + // greater than or equal to 1,000, then the value of this field is 1000. + DataObjectCount int64 `json:"dataObjectCount,omitempty,string"` + // EventDetectionTime: Timestamp indicating when the event was detected. + EventDetectionTime string `json:"eventDetectionTime,omitempty"` + // EventType: Type of the DRD event. + // + // Possible values: + // "EVENT_TYPE_UNSPECIFIED" - Unspecified event type. + // "EVENT_TYPE_MAX_TTL_EXCEEDED" - The maximum retention time has been + // exceeded. + EventType string `json:"eventType,omitempty"` + // MaxRetentionAllowed: Maximum duration of retention allowed from the DRD + // control. This comes from the DRD control where users set a max TTL for their + // data. For example, suppose that a user set the max TTL for a Cloud Storage + // bucket to 90 days. However, an object in that bucket is 100 days old. In + // this case, a DataRetentionDeletionEvent will be generated for that Cloud + // Storage bucket, and the max_retention_allowed is 90 days. + MaxRetentionAllowed string `json:"maxRetentionAllowed,omitempty"` + // ForceSendFields is a list of field names (e.g. "DataObjectCount") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DataObjectCount") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudSecuritycenterV2DataRetentionDeletionEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2DataRetentionDeletionEvent + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV2Database: Represents database access information, // such as queries. A database may be a sub-resource of an instance (as in the // case of Cloud SQL instances or Cloud Spanner instances), or the database @@ -6301,6 +6403,9 @@ type GoogleCloudSecuritycenterV2Finding struct { DataAccessEvents []*GoogleCloudSecuritycenterV2DataAccessEvent `json:"dataAccessEvents,omitempty"` // DataFlowEvents: Data flow events associated with the finding. DataFlowEvents []*GoogleCloudSecuritycenterV2DataFlowEvent `json:"dataFlowEvents,omitempty"` + // DataRetentionDeletionEvents: Data retention deletion events associated with + // the finding. + DataRetentionDeletionEvents []*GoogleCloudSecuritycenterV2DataRetentionDeletionEvent `json:"dataRetentionDeletionEvents,omitempty"` // Database: Database associated with the finding. Database *GoogleCloudSecuritycenterV2Database `json:"database,omitempty"` // Description: Contains more details about the finding. diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index 78953a138b3..53764c63f60 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -2003,7 +2003,7 @@ } } }, - "revision": "20241205", + "revision": "20241206", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -3050,6 +3050,40 @@ }, "type": "object" }, + "DataRetentionDeletionEvent": { + "description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", + "id": "DataRetentionDeletionEvent", + "properties": { + "dataObjectCount": { + "description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", + "format": "int64", + "type": "string" + }, + "eventDetectionTime": { + "description": "Timestamp indicating when the event was detected.", + "format": "google-datetime", + "type": "string" + }, + "eventType": { + "description": "Type of the DRD event.", + "enum": [ + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED" + ], + "enumDescriptions": [ + "Unspecified event type.", + "The maximum retention time has been exceeded." + ], + "type": "string" + }, + "maxRetentionAllowed": { + "description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "Database": { "description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", "id": "Database", @@ -3426,6 +3460,13 @@ }, "type": "array" }, + "dataRetentionDeletionEvents": { + "description": "Data retention deletion events associated with the finding.", + "items": { + "$ref": "DataRetentionDeletionEvent" + }, + "type": "array" + }, "database": { "$ref": "Database", "description": "Database associated with the finding." @@ -5622,6 +5663,40 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent": { + "description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", + "id": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent", + "properties": { + "dataObjectCount": { + "description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", + "format": "int64", + "type": "string" + }, + "eventDetectionTime": { + "description": "Timestamp indicating when the event was detected.", + "format": "google-datetime", + "type": "string" + }, + "eventType": { + "description": "Type of the DRD event.", + "enum": [ + "EVENT_TYPE_UNSPECIFIED", + "EVENT_TYPE_MAX_TTL_EXCEEDED" + ], + "enumDescriptions": [ + "Unspecified event type.", + "The maximum retention time has been exceeded." + ], + "type": "string" + }, + "maxRetentionAllowed": { + "description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2Database": { "description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", "id": "GoogleCloudSecuritycenterV2Database", @@ -5958,6 +6033,13 @@ }, "type": "array" }, + "dataRetentionDeletionEvents": { + "description": "Data retention deletion events associated with the finding.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent" + }, + "type": "array" + }, "database": { "$ref": "GoogleCloudSecuritycenterV2Database", "description": "Database associated with the finding." diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 6b03d3c7333..c5e2086337d 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -1718,6 +1718,55 @@ func (s DataFlowEvent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// DataRetentionDeletionEvent: Details about data retention deletion +// violations, in which the data is non-compliant based on their retention or +// deletion time, as defined in the applicable data security policy. The Data +// Retention Deletion (DRD) control is a control of the DSPM (Data Security +// Posture Management) suite that enables organizations to manage data +// retention and deletion policies in compliance with regulations, such as GDPR +// and CRPA. DRD supports two primary policy types: maximum storage length (max +// TTL) and minimum storage length (min TTL). Both are aimed at helping +// organizations meet regulatory and data management commitments. +type DataRetentionDeletionEvent struct { + // DataObjectCount: Number of objects that violated the policy for this + // resource. If the number is less than 1,000, then the value of this field is + // the exact number. If the number of objects that violated the policy is + // greater than or equal to 1,000, then the value of this field is 1000. + DataObjectCount int64 `json:"dataObjectCount,omitempty,string"` + // EventDetectionTime: Timestamp indicating when the event was detected. + EventDetectionTime string `json:"eventDetectionTime,omitempty"` + // EventType: Type of the DRD event. + // + // Possible values: + // "EVENT_TYPE_UNSPECIFIED" - Unspecified event type. + // "EVENT_TYPE_MAX_TTL_EXCEEDED" - The maximum retention time has been + // exceeded. + EventType string `json:"eventType,omitempty"` + // MaxRetentionAllowed: Maximum duration of retention allowed from the DRD + // control. This comes from the DRD control where users set a max TTL for their + // data. For example, suppose that a user set the max TTL for a Cloud Storage + // bucket to 90 days. However, an object in that bucket is 100 days old. In + // this case, a DataRetentionDeletionEvent will be generated for that Cloud + // Storage bucket, and the max_retention_allowed is 90 days. + MaxRetentionAllowed string `json:"maxRetentionAllowed,omitempty"` + // ForceSendFields is a list of field names (e.g. "DataObjectCount") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DataObjectCount") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s DataRetentionDeletionEvent) MarshalJSON() ([]byte, error) { + type NoMethod DataRetentionDeletionEvent + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Database: Represents database access information, such as queries. A // database may be a sub-resource of an instance (as in the case of Cloud SQL // instances or Cloud Spanner instances), or the database instance itself. Some @@ -2195,6 +2244,9 @@ type Finding struct { DataAccessEvents []*DataAccessEvent `json:"dataAccessEvents,omitempty"` // DataFlowEvents: Data flow events associated with the finding. DataFlowEvents []*DataFlowEvent `json:"dataFlowEvents,omitempty"` + // DataRetentionDeletionEvents: Data retention deletion events associated with + // the finding. + DataRetentionDeletionEvents []*DataRetentionDeletionEvent `json:"dataRetentionDeletionEvents,omitempty"` // Database: Database associated with the finding. Database *Database `json:"database,omitempty"` // Description: Contains more details about the finding. @@ -4792,6 +4844,56 @@ func (s GoogleCloudSecuritycenterV2DataFlowEvent) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV2DataRetentionDeletionEvent: Details about data +// retention deletion violations, in which the data is non-compliant based on +// their retention or deletion time, as defined in the applicable data security +// policy. The Data Retention Deletion (DRD) control is a control of the DSPM +// (Data Security Posture Management) suite that enables organizations to +// manage data retention and deletion policies in compliance with regulations, +// such as GDPR and CRPA. DRD supports two primary policy types: maximum +// storage length (max TTL) and minimum storage length (min TTL). Both are +// aimed at helping organizations meet regulatory and data management +// commitments. +type GoogleCloudSecuritycenterV2DataRetentionDeletionEvent struct { + // DataObjectCount: Number of objects that violated the policy for this + // resource. If the number is less than 1,000, then the value of this field is + // the exact number. If the number of objects that violated the policy is + // greater than or equal to 1,000, then the value of this field is 1000. + DataObjectCount int64 `json:"dataObjectCount,omitempty,string"` + // EventDetectionTime: Timestamp indicating when the event was detected. + EventDetectionTime string `json:"eventDetectionTime,omitempty"` + // EventType: Type of the DRD event. + // + // Possible values: + // "EVENT_TYPE_UNSPECIFIED" - Unspecified event type. + // "EVENT_TYPE_MAX_TTL_EXCEEDED" - The maximum retention time has been + // exceeded. + EventType string `json:"eventType,omitempty"` + // MaxRetentionAllowed: Maximum duration of retention allowed from the DRD + // control. This comes from the DRD control where users set a max TTL for their + // data. For example, suppose that a user set the max TTL for a Cloud Storage + // bucket to 90 days. However, an object in that bucket is 100 days old. In + // this case, a DataRetentionDeletionEvent will be generated for that Cloud + // Storage bucket, and the max_retention_allowed is 90 days. + MaxRetentionAllowed string `json:"maxRetentionAllowed,omitempty"` + // ForceSendFields is a list of field names (e.g. "DataObjectCount") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DataObjectCount") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudSecuritycenterV2DataRetentionDeletionEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2DataRetentionDeletionEvent + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV2Database: Represents database access information, // such as queries. A database may be a sub-resource of an instance (as in the // case of Cloud SQL instances or Cloud Spanner instances), or the database @@ -5214,6 +5316,9 @@ type GoogleCloudSecuritycenterV2Finding struct { DataAccessEvents []*GoogleCloudSecuritycenterV2DataAccessEvent `json:"dataAccessEvents,omitempty"` // DataFlowEvents: Data flow events associated with the finding. DataFlowEvents []*GoogleCloudSecuritycenterV2DataFlowEvent `json:"dataFlowEvents,omitempty"` + // DataRetentionDeletionEvents: Data retention deletion events associated with + // the finding. + DataRetentionDeletionEvents []*GoogleCloudSecuritycenterV2DataRetentionDeletionEvent `json:"dataRetentionDeletionEvents,omitempty"` // Database: Database associated with the finding. Database *GoogleCloudSecuritycenterV2Database `json:"database,omitempty"` // Description: Contains more details about the finding. diff --git a/workspaceevents/v1/workspaceevents-api.json b/workspaceevents/v1/workspaceevents-api.json index 25e99f8f3b5..6aee86b0a88 100644 --- a/workspaceevents/v1/workspaceevents-api.json +++ b/workspaceevents/v1/workspaceevents-api.json @@ -12,16 +12,16 @@ "description": "View members in Google Chat conversations." }, "https://www.googleapis.com/auth/chat.messages": { - "description": "See, compose, send, update, and delete messages and their associated attachments, and add, see, and delete reactions to messages." + "description": "See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages." }, "https://www.googleapis.com/auth/chat.messages.reactions": { - "description": "See, add, and delete reactions to messages in Google Chat" + "description": "See, add, and delete reactions as well as their reaction content to messages in Google Chat" }, "https://www.googleapis.com/auth/chat.messages.reactions.readonly": { - "description": "View reactions to messages in Google Chat" + "description": "View reactions as well as their reaction content to messages in Google Chat" }, "https://www.googleapis.com/auth/chat.messages.readonly": { - "description": "See messages and their associated reactions and attachments in Google Chat" + "description": "See messages as well as their reactions and message content in Google Chat" }, "https://www.googleapis.com/auth/chat.spaces": { "description": "Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat" @@ -474,7 +474,7 @@ } } }, - "revision": "20241027", + "revision": "20241208", "rootUrl": "https://workspaceevents.googleapis.com/", "schemas": { "ListSubscriptionsResponse": { diff --git a/workspaceevents/v1/workspaceevents-gen.go b/workspaceevents/v1/workspaceevents-gen.go index 14409d0e690..560dac98edb 100644 --- a/workspaceevents/v1/workspaceevents-gen.go +++ b/workspaceevents/v1/workspaceevents-gen.go @@ -110,17 +110,18 @@ const ( // View members in Google Chat conversations. ChatMembershipsReadonlyScope = "https://www.googleapis.com/auth/chat.memberships.readonly" - // See, compose, send, update, and delete messages and their associated - // attachments, and add, see, and delete reactions to messages. + // See, compose, send, update, and delete messages as well as their message + // content; add, see, and delete reactions to messages. ChatMessagesScope = "https://www.googleapis.com/auth/chat.messages" - // See, add, and delete reactions to messages in Google Chat + // See, add, and delete reactions as well as their reaction content to messages + // in Google Chat ChatMessagesReactionsScope = "https://www.googleapis.com/auth/chat.messages.reactions" - // View reactions to messages in Google Chat + // View reactions as well as their reaction content to messages in Google Chat ChatMessagesReactionsReadonlyScope = "https://www.googleapis.com/auth/chat.messages.reactions.readonly" - // See messages and their associated reactions and attachments in Google Chat + // See messages as well as their reactions and message content in Google Chat ChatMessagesReadonlyScope = "https://www.googleapis.com/auth/chat.messages.readonly" // Create conversations and spaces and see or update metadata (including