From 2f1f5aa24f881e38fa2be7bad5b41283e03ef0a0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Sep 2025 07:12:44 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- accessapproval/v1/accessapproval-api.json | 72 +++---- accessapproval/v1/accessapproval-gen.go | 235 +++++++++++++--------- chat/v1/chat-api.json | 8 +- chat/v1/chat-gen.go | 31 ++- 4 files changed, 188 insertions(+), 158 deletions(-) diff --git a/accessapproval/v1/accessapproval-api.json b/accessapproval/v1/accessapproval-api.json index dffe0f7a34..7e82ab18d7 100644 --- a/accessapproval/v1/accessapproval-api.json +++ b/accessapproval/v1/accessapproval-api.json @@ -108,7 +108,7 @@ "folders": { "methods": { "deleteAccessApprovalSettings": { - "description": "Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited.", + "description": "Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the resource. Access Approval may remain active based on parent resource settings. To confirm the effective settings, call GetAccessApprovalSettings and verify effective setting is disabled.", "flatPath": "v1/folders/{foldersId}/accessApprovalSettings", "httpMethod": "DELETE", "id": "accessapproval.folders.deleteAccessApprovalSettings", @@ -133,7 +133,7 @@ ] }, "getAccessApprovalSettings": { - "description": "Gets the settings associated with a project, folder, or organization.", + "description": "Gets the Access Approval settings associated with a project, folder, or organization.", "flatPath": "v1/folders/{foldersId}/accessApprovalSettings", "httpMethod": "GET", "id": "accessapproval.folders.getAccessApprovalSettings", @@ -249,7 +249,7 @@ ] }, "dismiss": { - "description": "Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", + "description": "Dismisses a request. Returns the updated ApprovalRequest. NOTE: When a request is dismissed, it is considered ignored. Dismissing a request does not prevent access granted by other Access Approval requests. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", "flatPath": "v1/folders/{foldersId}/approvalRequests/{approvalRequestsId}:dismiss", "httpMethod": "POST", "id": "accessapproval.folders.approvalRequests.dismiss", @@ -302,7 +302,7 @@ ] }, "invalidate": { - "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", + "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This action revokes Google access based on this approval request. If the resource has other active approvals, access will remain granted. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", "flatPath": "v1/folders/{foldersId}/approvalRequests/{approvalRequestsId}:invalidate", "httpMethod": "POST", "id": "accessapproval.folders.approvalRequests.invalidate", @@ -377,7 +377,7 @@ "organizations": { "methods": { "deleteAccessApprovalSettings": { - "description": "Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited.", + "description": "Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the resource. Access Approval may remain active based on parent resource settings. To confirm the effective settings, call GetAccessApprovalSettings and verify effective setting is disabled.", "flatPath": "v1/organizations/{organizationsId}/accessApprovalSettings", "httpMethod": "DELETE", "id": "accessapproval.organizations.deleteAccessApprovalSettings", @@ -402,7 +402,7 @@ ] }, "getAccessApprovalSettings": { - "description": "Gets the settings associated with a project, folder, or organization.", + "description": "Gets the Access Approval settings associated with a project, folder, or organization.", "flatPath": "v1/organizations/{organizationsId}/accessApprovalSettings", "httpMethod": "GET", "id": "accessapproval.organizations.getAccessApprovalSettings", @@ -518,7 +518,7 @@ ] }, "dismiss": { - "description": "Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", + "description": "Dismisses a request. Returns the updated ApprovalRequest. NOTE: When a request is dismissed, it is considered ignored. Dismissing a request does not prevent access granted by other Access Approval requests. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", "flatPath": "v1/organizations/{organizationsId}/approvalRequests/{approvalRequestsId}:dismiss", "httpMethod": "POST", "id": "accessapproval.organizations.approvalRequests.dismiss", @@ -571,7 +571,7 @@ ] }, "invalidate": { - "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", + "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This action revokes Google access based on this approval request. If the resource has other active approvals, access will remain granted. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", "flatPath": "v1/organizations/{organizationsId}/approvalRequests/{approvalRequestsId}:invalidate", "httpMethod": "POST", "id": "accessapproval.organizations.approvalRequests.invalidate", @@ -646,7 +646,7 @@ "projects": { "methods": { "deleteAccessApprovalSettings": { - "description": "Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited.", + "description": "Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the resource. Access Approval may remain active based on parent resource settings. To confirm the effective settings, call GetAccessApprovalSettings and verify effective setting is disabled.", "flatPath": "v1/projects/{projectsId}/accessApprovalSettings", "httpMethod": "DELETE", "id": "accessapproval.projects.deleteAccessApprovalSettings", @@ -671,7 +671,7 @@ ] }, "getAccessApprovalSettings": { - "description": "Gets the settings associated with a project, folder, or organization.", + "description": "Gets the Access Approval settings associated with a project, folder, or organization.", "flatPath": "v1/projects/{projectsId}/accessApprovalSettings", "httpMethod": "GET", "id": "accessapproval.projects.getAccessApprovalSettings", @@ -787,7 +787,7 @@ ] }, "dismiss": { - "description": "Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", + "description": "Dismisses a request. Returns the updated ApprovalRequest. NOTE: When a request is dismissed, it is considered ignored. Dismissing a request does not prevent access granted by other Access Approval requests. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", "flatPath": "v1/projects/{projectsId}/approvalRequests/{approvalRequestsId}:dismiss", "httpMethod": "POST", "id": "accessapproval.projects.approvalRequests.dismiss", @@ -840,7 +840,7 @@ ] }, "invalidate": { - "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", + "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This action revokes Google access based on this approval request. If the resource has other active approvals, access will remain granted. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", "flatPath": "v1/projects/{projectsId}/approvalRequests/{approvalRequestsId}:invalidate", "httpMethod": "POST", "id": "accessapproval.projects.approvalRequests.invalidate", @@ -913,7 +913,7 @@ } } }, - "revision": "20250728", + "revision": "20250912", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalServiceAccount": { @@ -946,11 +946,11 @@ }, "approvalPolicy": { "$ref": "CustomerApprovalApprovalPolicy", - "description": "Optional. Policy for approval. This contains all policies." + "description": "Optional. Policy configuration for Access Approval that sets the operating mode. The available policies are Transparency, Streamlined Support, and Approval Required." }, "effectiveApprovalPolicy": { "$ref": "CustomerApprovalApprovalPolicy", - "description": "Output only. Policy for approval included inherited settings to understand the exact policy applied to this resource. This is a read-only field.", + "description": "Output only. Effective policy applied for Access Approval, inclusive of inheritance.", "readOnly": true }, "enrolledAncestor": { @@ -959,7 +959,7 @@ "type": "boolean" }, "enrolledServices": { - "description": "A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.", + "description": "A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded.", "items": { "$ref": "EnrolledService" }, @@ -982,20 +982,20 @@ "type": "array" }, "notificationPubsubTopic": { - "description": "Optional. A pubsub topic to which notifications relating to approval requests should be sent.", + "description": "Optional. A pubsub topic that notifications relating to access approval are published to. Notifications include pre-approved accesses.", "type": "string" }, "preferNoBroadApprovalRequests": { - "description": "This preference is communicated to Google personnel when sending an approval request but can be overridden if necessary.", + "description": "This field is used to set a preference for granularity of an access approval request. If true, Google personnel will be asked to send resource-level requests when possible. If false, Google personnel will be asked to send requests at the project level.", "type": "boolean" }, "preferredRequestExpirationDays": { - "description": "This preference is shared with Google personnel, but can be overridden if said personnel deems necessary. The approver ultimately can set the expiration at approval time.", + "description": "Set the default access approval request expiration time. This value is able to be set directly by the customer at the time of approval, overriding this suggested value. We recommend setting this value to 30 days.", "format": "int32", "type": "integer" }, "requestScopeMaxWidthPreference": { - "description": "Optional. A setting to indicate the maximum width of an Access Approval request.", + "description": "Optional. A setting that indicates the maximum scope of an Access Approval request: either organization, folder, or project. Google administrators will be asked to send requests no broader than the configured scope.", "enum": [ "REQUEST_SCOPE_MAX_WIDTH_PREFERENCE_UNSPECIFIED", "ORGANIZATION", @@ -1003,7 +1003,7 @@ "PROJECT" ], "enumDescriptions": [ - "Default value for proto, shouldn't be used.", + "Default value, defaults to ORGANIZATION if not set. This value is not able to be configured by the user, do not use.", "This is the widest scope possible. It means the customer has no scope restriction when it comes to Access Approval requests.", "Customer allows the scope of Access Approval requests as broad as the Folder level.", "Customer allows the scope of Access Approval requests as broad as the Project level." @@ -1011,22 +1011,22 @@ "type": "string" }, "requireCustomerVisibleJustification": { - "description": "Optional. A setting to require approval request justifications to be customer visible.", + "description": "Optional. When enabled, Google will only be able to send approval requests for access reasons with a customer accessible case ID in the reason detail. Also known as \"Require customer initiated support case justification\"", "type": "boolean" } }, "type": "object" }, "AccessLocations": { - "description": "Home office and physical location of the principal.", + "description": "Physical assigned office and physical location of the Google administrator performing the access.", "id": "AccessLocations", "properties": { "principalOfficeCountry": { - "description": "The \"home office\" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT: Antarctica * ANY: Any location", + "description": "The \"home office\" location of the Google administrator. A two-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT: Antarctica * ANY: Any location", "type": "string" }, "principalPhysicalLocationCountry": { - "description": "Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT: Antarctica * ANY: Any location", + "description": "Physical location of the Google administrator at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT: Antarctica * ANY: Any location", "type": "string" } }, @@ -1040,7 +1040,7 @@ "type": "string" }, "type": { - "description": "Type of access justification.", + "description": "Type of access reason.", "enum": [ "TYPE_UNSPECIFIED", "CUSTOMER_INITIATED_SUPPORT", @@ -1051,7 +1051,7 @@ "CLOUD_INITIATED_ACCESS" ], "enumDescriptions": [ - "Default value for proto, shouldn't be used.", + "This value is not used.", "Customer made a request or raised an issue that required the principal to access customer data. `detail` is of the form (\"#####\" is the issue ID): * \"Feedback Report: #####\" * \"Case Number: #####\" * \"Case ID: #####\" * \"E-PIN Reference: #####\" * \"Google-#####\" * \"T-#####\"", "The principal accessed customer data in order to diagnose or resolve a suspected issue in services. Often this access is used to confirm that customers are not affected by a suspected service issue or to remediate a reversible system issue.", "Google initiated service for security, fraud, abuse, or compliance purposes.", @@ -1105,7 +1105,7 @@ }, "requestedReason": { "$ref": "AccessReason", - "description": "The justification for which approval is being requested." + "description": "The access reason for which approval is being requested." }, "requestedResourceName": { "description": "The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a \"full\" resource name (e.g. \"//library.googleapis.com/shelves/shelf1/books/book2\") or a \"relative\" resource name (e.g. \"shelves/shelf1/books/book2\") as described in the resource name specification.", @@ -1165,7 +1165,7 @@ "type": "object" }, "AugmentedInfo": { - "description": "This field contains the augmented information of the request.", + "description": "This field contains the augmented information of the request. Requires augmented administrative access to be enabled.", "id": "AugmentedInfo", "properties": { "command": { @@ -1189,11 +1189,11 @@ "JUSTIFICATION_BASED_APPROVAL_INHERITED" ], "enumDescriptions": [ - "Default value for proto.", - "Instant approval is enabled for all accesses.", - "Instant approval is enabled for external justifications.", - "Instant approval is not enabled for any accesses.", - "Instant approval is inherited from the parent." + "Default value, defaults to JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED if not set. This value is not able to be configured by the user, do not use.", + "Audit-only mode. All accesses are pre-approved instantly.", + "Customer initiated support access reasons are pre-approved instantly. All other accesses require customer approval.", + "All access approval requests require customer approval. This is the default value if the policy is not set.", + "Defer configuration to parent settings. This is the default value if the policy is not set and the parent has a value set." ], "type": "string" } @@ -1233,7 +1233,7 @@ "id": "EnrolledService", "properties": { "cloudProduct": { - "description": "The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * App Engine * Artifact Registry * BigQuery * Certificate Authority Service * Cloud Bigtable * Cloud Key Management Service * Compute Engine * Cloud Composer * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud Firestore * Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud NAT * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Eventarc * Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk * Resource Manager * Secret Manager * Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API. * all * ga-only * appengine.googleapis.com * artifactregistry.googleapis.com * bigquery.googleapis.com * bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com * dataproc.googleapis.com * dlp.googleapis.com * iam.googleapis.com * logging.googleapis.com * orgpolicy.googleapis.com * pubsub.googleapis.com * spanner.googleapis.com * secretmanager.googleapis.com * speakerid.googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services", + "description": "The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * Access Context Manager * Anthos Identity Service * AlloyDB for PostgreSQL * Apigee * Application Integration * App Hub * Artifact Registry * Anthos Service Mesh * Access Transparency * BigQuery * Certificate Authority Service * Cloud Bigtable * CCAI Assist and Knowledge * Cloud Dataflow * Cloud Dataproc * CEP Security Gateway * Compliance Evaluation Service * Cloud Firestore * Cloud Healthcare API * Chronicle * Cloud AI Companion Gateway - Titan * Google Cloud Armor * Cloud Asset Inventory * Cloud Asset Search * Cloud Deploy * Cloud DNS * Cloud Latency * Cloud Memorystore for Redis * CloudNet Control * Cloud Riptide * Cloud Tasks * Cloud Trace * Cloud Data Transfer * Cloud Composer * Integration Connectors * Contact Center AI Insights * Cloud Pub/Sub * Cloud Run * Resource Manager * Cloud Spanner * Database Center * Cloud Dataform * Cloud Data Fusion * Dataplex * Dialogflow Customer Experience Edition * Cloud DLP * Document AI * Edge Container * Edge Network * Cloud EKM * Eventarc * Firebase Data Connect * Firebase Rules * App Engine * Cloud Build * Compute Engine * Cloud Functions (2nd Gen) * Cloud Filestore * Cloud Interconnect * Cloud NetApp Volumes * Cloud Storage * Generative AI App Builder * Google Kubernetes Engine * Backup for GKE API * GKE Connect * GKE Hub * Hoverboard * Cloud HSM * Cloud Identity and Access Management * Cloud Identity-Aware Proxy * Infrastructure Manager * Identity Storage Service * Key Access Justifications * Cloud Key Management Service * Cloud Logging * Looker (Google Cloud core) * Looker Studio * Management Hub * Model Armor * Cloud Monitoring * Cloud NAT * Connectivity Hub * External passthrough Network Load Balancer * OIDC One * Organization Policy Service * Org Lifecycle * Persistent Disk * Parameter Manager * Private Services Access * Regional Internal Application Load Balancer * Storage Batch Operations * Cloud Security Command Center * Secure Source Manager * Seeker * Service Provisioning * Speaker ID * Secret Manager * Cloud SQL * Cloud Speech-to-Text * Traffic Director * Cloud Text-to-Speech * USPS Andromeda * Vertex AI * Virtual Private Cloud (VPC) * VPC Access * VPC Service Controls Troubleshooter * VPC virtnet * Cloud Workstations * Web Risk Note: These values are supported as input for legacy purposes, but will not be returned from the API. * all * ga-only * appengine.googleapis.com * artifactregistry.googleapis.com * bigquery.googleapis.com * bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com * dataproc.googleapis.com * dlp.googleapis.com * iam.googleapis.com * logging.googleapis.com * orgpolicy.googleapis.com * pubsub.googleapis.com * spanner.googleapis.com * secretmanager.googleapis.com * speakerid.googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services", "type": "string" }, "enrollmentLevel": { @@ -1243,7 +1243,7 @@ "BLOCK_ALL" ], "enumDescriptions": [ - "Default value for proto, shouldn't be used.", + "Default value if not set, defaults to \"BLOCK_ALL\". This value is not available to be set by the user, do not use.", "Service is enrolled in Access Approval for all requests" ], "type": "string" diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index 529c64c319..f83bf25c61 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -268,11 +268,12 @@ type AccessApprovalSettings struct { // active_key_version (this field will always be unset for the organization // since organizations do not have ancestors). AncestorHasActiveKeyVersion bool `json:"ancestorHasActiveKeyVersion,omitempty"` - // ApprovalPolicy: Optional. Policy for approval. This contains all policies. + // ApprovalPolicy: Optional. Policy configuration for Access Approval that sets + // the operating mode. The available policies are Transparency, Streamlined + // Support, and Approval Required. ApprovalPolicy *CustomerApprovalApprovalPolicy `json:"approvalPolicy,omitempty"` - // EffectiveApprovalPolicy: Output only. Policy for approval included inherited - // settings to understand the exact policy applied to this resource. This is a - // read-only field. + // EffectiveApprovalPolicy: Output only. Effective policy applied for Access + // Approval, inclusive of inheritance. EffectiveApprovalPolicy *CustomerApprovalApprovalPolicy `json:"effectiveApprovalPolicy,omitempty"` // EnrolledAncestor: Output only. This field is read only (not settable via // UpdateAccessApprovalSettings method). If the field is true, that indicates @@ -287,8 +288,7 @@ type AccessApprovalSettings struct { // be done for individual services. If name refers to a folder or project, // enrollment can only be done on an all or nothing basis. If a cloud_product // is repeated in this list, the first entry will be honored and all following - // entries will be discarded. A maximum of 10 enrolled services will be - // enforced, to be expanded as the set of supported services is expanded. + // entries will be discarded. EnrolledServices []*EnrolledService `json:"enrolledServices,omitempty"` // InvalidKeyVersion: Output only. This field is read only (not settable via // UpdateAccessApprovalSettings method). If the field is true, that indicates @@ -308,23 +308,29 @@ type AccessApprovalSettings struct { // resource will be sent to all emails in the settings of ancestor resources of // that resource. A maximum of 50 email addresses are allowed. NotificationEmails []string `json:"notificationEmails,omitempty"` - // NotificationPubsubTopic: Optional. A pubsub topic to which notifications - // relating to approval requests should be sent. + // NotificationPubsubTopic: Optional. A pubsub topic that notifications + // relating to access approval are published to. Notifications include + // pre-approved accesses. NotificationPubsubTopic string `json:"notificationPubsubTopic,omitempty"` - // PreferNoBroadApprovalRequests: This preference is communicated to Google - // personnel when sending an approval request but can be overridden if - // necessary. + // PreferNoBroadApprovalRequests: This field is used to set a preference for + // granularity of an access approval request. If true, Google personnel will be + // asked to send resource-level requests when possible. If false, Google + // personnel will be asked to send requests at the project level. PreferNoBroadApprovalRequests bool `json:"preferNoBroadApprovalRequests,omitempty"` - // PreferredRequestExpirationDays: This preference is shared with Google - // personnel, but can be overridden if said personnel deems necessary. The - // approver ultimately can set the expiration at approval time. + // PreferredRequestExpirationDays: Set the default access approval request + // expiration time. This value is able to be set directly by the customer at + // the time of approval, overriding this suggested value. We recommend setting + // this value to 30 days. PreferredRequestExpirationDays int64 `json:"preferredRequestExpirationDays,omitempty"` - // RequestScopeMaxWidthPreference: Optional. A setting to indicate the maximum - // width of an Access Approval request. + // RequestScopeMaxWidthPreference: Optional. A setting that indicates the + // maximum scope of an Access Approval request: either organization, folder, or + // project. Google administrators will be asked to send requests no broader + // than the configured scope. // // Possible values: - // "REQUEST_SCOPE_MAX_WIDTH_PREFERENCE_UNSPECIFIED" - Default value for - // proto, shouldn't be used. + // "REQUEST_SCOPE_MAX_WIDTH_PREFERENCE_UNSPECIFIED" - Default value, defaults + // to ORGANIZATION if not set. This value is not able to be configured by the + // user, do not use. // "ORGANIZATION" - This is the widest scope possible. It means the customer // has no scope restriction when it comes to Access Approval requests. // "FOLDER" - Customer allows the scope of Access Approval requests as broad @@ -332,8 +338,10 @@ type AccessApprovalSettings struct { // "PROJECT" - Customer allows the scope of Access Approval requests as broad // as the Project level. RequestScopeMaxWidthPreference string `json:"requestScopeMaxWidthPreference,omitempty"` - // RequireCustomerVisibleJustification: Optional. A setting to require approval - // request justifications to be customer visible. + // RequireCustomerVisibleJustification: Optional. When enabled, Google will + // only be able to send approval requests for access reasons with a customer + // accessible case ID in the reason detail. Also known as "Require customer + // initiated support case justification" RequireCustomerVisibleJustification bool `json:"requireCustomerVisibleJustification,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -356,21 +364,23 @@ func (s AccessApprovalSettings) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// AccessLocations: Home office and physical location of the principal. +// AccessLocations: Physical assigned office and physical location of the +// Google administrator performing the access. type AccessLocations struct { - // PrincipalOfficeCountry: The "home office" location of the principal. A - // two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or - // a region code. In some limited situations Google systems may refer refer to - // a region code instead of a country code. Possible Region Codes: * ASI: Asia - // * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North America * SAM: South - // America * ANT: Antarctica * ANY: Any location + // PrincipalOfficeCountry: The "home office" location of the Google + // administrator. A two-letter country code (ISO 3166-1 alpha-2), such as "US", + // "DE" or "GB" or a region code. In some limited situations Google systems may + // refer refer to a region code instead of a country code. Possible Region + // Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North + // America * SAM: South America * ANT: Antarctica * ANY: Any location PrincipalOfficeCountry string `json:"principalOfficeCountry,omitempty"` - // PrincipalPhysicalLocationCountry: Physical location of the principal at the - // time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as - // "US", "DE" or "GB" or a region code. In some limited situations Google - // systems may refer refer to a region code instead of a country code. Possible - // Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: - // North America * SAM: South America * ANT: Antarctica * ANY: Any location + // PrincipalPhysicalLocationCountry: Physical location of the Google + // administrator at the time of the access. A two-letter country code (ISO + // 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some + // limited situations Google systems may refer refer to a region code instead + // of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: + // Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT: + // Antarctica * ANY: Any location PrincipalPhysicalLocationCountry string `json:"principalPhysicalLocationCountry,omitempty"` // ForceSendFields is a list of field names (e.g. "PrincipalOfficeCountry") to // unconditionally include in API requests. By default, fields with empty or @@ -394,10 +404,10 @@ type AccessReason struct { // Detail: More detail about certain reason types. See comments for each type // above. Detail string `json:"detail,omitempty"` - // Type: Type of access justification. + // Type: Type of access reason. // // Possible values: - // "TYPE_UNSPECIFIED" - Default value for proto, shouldn't be used. + // "TYPE_UNSPECIFIED" - This value is not used. // "CUSTOMER_INITIATED_SUPPORT" - Customer made a request or raised an issue // that required the principal to access customer data. `detail` is of the form // ("#####" is the issue ID): * "Feedback Report: #####" * "Case Number: #####" @@ -459,7 +469,7 @@ type ApprovalRequest struct { RequestedExpiration string `json:"requestedExpiration,omitempty"` // RequestedLocations: The locations for which approval is being requested. RequestedLocations *AccessLocations `json:"requestedLocations,omitempty"` - // RequestedReason: The justification for which approval is being requested. + // RequestedReason: The access reason for which approval is being requested. RequestedReason *AccessReason `json:"requestedReason,omitempty"` // RequestedResourceName: The resource for which approval is being requested. // The format of the resource name is defined at @@ -552,6 +562,7 @@ func (s ApproveDecision) MarshalJSON() ([]byte, error) { } // AugmentedInfo: This field contains the augmented information of the request. +// Requires augmented administrative access to be enabled. type AugmentedInfo struct { // Command: For command-line tools, the full command-line exactly as entered by // the actor without adding any additional characters (such as quotation @@ -582,16 +593,20 @@ type CustomerApprovalApprovalPolicy struct { // justification given. // // Possible values: - // "JUSTIFICATION_BASED_APPROVAL_POLICY_UNSPECIFIED" - Default value for - // proto. - // "JUSTIFICATION_BASED_APPROVAL_ENABLED_ALL" - Instant approval is enabled - // for all accesses. - // "JUSTIFICATION_BASED_APPROVAL_ENABLED_EXTERNAL_JUSTIFICATIONS" - Instant - // approval is enabled for external justifications. - // "JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED" - Instant approval is not - // enabled for any accesses. - // "JUSTIFICATION_BASED_APPROVAL_INHERITED" - Instant approval is inherited - // from the parent. + // "JUSTIFICATION_BASED_APPROVAL_POLICY_UNSPECIFIED" - Default value, + // defaults to JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED if not set. This value + // is not able to be configured by the user, do not use. + // "JUSTIFICATION_BASED_APPROVAL_ENABLED_ALL" - Audit-only mode. All accesses + // are pre-approved instantly. + // "JUSTIFICATION_BASED_APPROVAL_ENABLED_EXTERNAL_JUSTIFICATIONS" - Customer + // initiated support access reasons are pre-approved instantly. All other + // accesses require customer approval. + // "JUSTIFICATION_BASED_APPROVAL_NOT_ENABLED" - All access approval requests + // require customer approval. This is the default value if the policy is not + // set. + // "JUSTIFICATION_BASED_APPROVAL_INHERITED" - Defer configuration to parent + // settings. This is the default value if the policy is not set and the parent + // has a value set. JustificationBasedApprovalPolicy string `json:"justificationBasedApprovalPolicy,omitempty"` // ForceSendFields is a list of field names (e.g. // "JustificationBasedApprovalPolicy") to unconditionally include in API @@ -657,16 +672,39 @@ type Empty struct { // specific service. type EnrolledService struct { // CloudProduct: The product for which Access Approval will be enrolled. - // Allowed values are listed below (case-sensitive): * all * GA * App Engine * - // Artifact Registry * BigQuery * Certificate Authority Service * Cloud - // Bigtable * Cloud Key Management Service * Compute Engine * Cloud Composer * - // Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud Firestore * - // Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud NAT - // * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Eventarc * - // Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk * - // Resource Manager * Secret Manager * Speaker ID Note: These values are - // supported as input for legacy purposes, but will not be returned from the - // API. * all * ga-only * appengine.googleapis.com * + // Allowed values are listed below (case-sensitive): * all * GA * Access + // Context Manager * Anthos Identity Service * AlloyDB for PostgreSQL * Apigee + // * Application Integration * App Hub * Artifact Registry * Anthos Service + // Mesh * Access Transparency * BigQuery * Certificate Authority Service * + // Cloud Bigtable * CCAI Assist and Knowledge * Cloud Dataflow * Cloud Dataproc + // * CEP Security Gateway * Compliance Evaluation Service * Cloud Firestore * + // Cloud Healthcare API * Chronicle * Cloud AI Companion Gateway - Titan * + // Google Cloud Armor * Cloud Asset Inventory * Cloud Asset Search * Cloud + // Deploy * Cloud DNS * Cloud Latency * Cloud Memorystore for Redis * CloudNet + // Control * Cloud Riptide * Cloud Tasks * Cloud Trace * Cloud Data Transfer * + // Cloud Composer * Integration Connectors * Contact Center AI Insights * Cloud + // Pub/Sub * Cloud Run * Resource Manager * Cloud Spanner * Database Center * + // Cloud Dataform * Cloud Data Fusion * Dataplex * Dialogflow Customer + // Experience Edition * Cloud DLP * Document AI * Edge Container * Edge Network + // * Cloud EKM * Eventarc * Firebase Data Connect * Firebase Rules * App Engine + // * Cloud Build * Compute Engine * Cloud Functions (2nd Gen) * Cloud Filestore + // * Cloud Interconnect * Cloud NetApp Volumes * Cloud Storage * Generative AI + // App Builder * Google Kubernetes Engine * Backup for GKE API * GKE Connect * + // GKE Hub * Hoverboard * Cloud HSM * Cloud Identity and Access Management * + // Cloud Identity-Aware Proxy * Infrastructure Manager * Identity Storage + // Service * Key Access Justifications * Cloud Key Management Service * Cloud + // Logging * Looker (Google Cloud core) * Looker Studio * Management Hub * + // Model Armor * Cloud Monitoring * Cloud NAT * Connectivity Hub * External + // passthrough Network Load Balancer * OIDC One * Organization Policy Service * + // Org Lifecycle * Persistent Disk * Parameter Manager * Private Services + // Access * Regional Internal Application Load Balancer * Storage Batch + // Operations * Cloud Security Command Center * Secure Source Manager * Seeker + // * Service Provisioning * Speaker ID * Secret Manager * Cloud SQL * Cloud + // Speech-to-Text * Traffic Director * Cloud Text-to-Speech * USPS Andromeda * + // Vertex AI * Virtual Private Cloud (VPC) * VPC Access * VPC Service Controls + // Troubleshooter * VPC virtnet * Cloud Workstations * Web Risk Note: These + // values are supported as input for legacy purposes, but will not be returned + // from the API. * all * ga-only * appengine.googleapis.com * // artifactregistry.googleapis.com * bigquery.googleapis.com * // bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com // * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * @@ -684,8 +722,8 @@ type EnrolledService struct { // EnrollmentLevel: The enrollment level of the service. // // Possible values: - // "ENROLLMENT_LEVEL_UNSPECIFIED" - Default value for proto, shouldn't be - // used. + // "ENROLLMENT_LEVEL_UNSPECIFIED" - Default value if not set, defaults to + // "BLOCK_ALL". This value is not available to be set by the user, do not use. // "BLOCK_ALL" - Service is enrolled in Access Approval for all requests EnrollmentLevel string `json:"enrollmentLevel,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudProduct") to @@ -880,10 +918,9 @@ type FoldersDeleteAccessApprovalSettingsCall struct { // DeleteAccessApprovalSettings: Deletes the settings associated with a // project, folder, or organization. This will have the effect of disabling -// Access Approval for the project, folder, or organization, but only if all -// ancestors also have Access Approval disabled. If Access Approval is enabled -// at a higher level of the hierarchy, then Access Approval will still be -// enabled at this level as the settings are inherited. +// Access Approval for the resource. Access Approval may remain active based on +// parent resource settings. To confirm the effective settings, call +// GetAccessApprovalSettings and verify effective setting is disabled. // // - name: Name of the AccessApprovalSettings to delete. func (r *FoldersService) DeleteAccessApprovalSettings(name string) *FoldersDeleteAccessApprovalSettingsCall { @@ -981,8 +1018,8 @@ type FoldersGetAccessApprovalSettingsCall struct { header_ http.Header } -// GetAccessApprovalSettings: Gets the settings associated with a project, -// folder, or organization. +// GetAccessApprovalSettings: Gets the Access Approval settings associated with +// a project, folder, or organization. // // - name: The name of the AccessApprovalSettings to retrieve. Format: // "{projects|folders|organizations}/{id}/accessApprovalSettings". @@ -1434,10 +1471,10 @@ type FoldersApprovalRequestsDismissCall struct { } // Dismiss: Dismisses a request. Returns the updated ApprovalRequest. NOTE: -// This does not deny access to the resource if another request has been made -// and approved. It is equivalent in effect to ignoring the request altogether. -// Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION -// if the request exists but is not in a pending state. +// When a request is dismissed, it is considered ignored. Dismissing a request +// does not prevent access granted by other Access Approval requests. Returns +// NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the +// request exists but is not in a pending state. // // - name: Name of the ApprovalRequest to dismiss. func (r *FoldersApprovalRequestsService) Dismiss(name string, dismissapprovalrequestmessage *DismissApprovalRequestMessage) *FoldersApprovalRequestsDismissCall { @@ -1654,10 +1691,10 @@ type FoldersApprovalRequestsInvalidateCall struct { } // Invalidate: Invalidates an existing ApprovalRequest. Returns the updated -// ApprovalRequest. NOTE: This does not deny access to the resource if another -// request has been made and approved. It only invalidates a single approval. -// Returns FAILED_PRECONDITION if the request exists but is not in an approved -// state. +// ApprovalRequest. NOTE: This action revokes Google access based on this +// approval request. If the resource has other active approvals, access will +// remain granted. Returns FAILED_PRECONDITION if the request exists but is not +// in an approved state. // // - name: Name of the ApprovalRequest to invalidate. func (r *FoldersApprovalRequestsService) Invalidate(name string, invalidateapprovalrequestmessage *InvalidateApprovalRequestMessage) *FoldersApprovalRequestsInvalidateCall { @@ -1922,10 +1959,9 @@ type OrganizationsDeleteAccessApprovalSettingsCall struct { // DeleteAccessApprovalSettings: Deletes the settings associated with a // project, folder, or organization. This will have the effect of disabling -// Access Approval for the project, folder, or organization, but only if all -// ancestors also have Access Approval disabled. If Access Approval is enabled -// at a higher level of the hierarchy, then Access Approval will still be -// enabled at this level as the settings are inherited. +// Access Approval for the resource. Access Approval may remain active based on +// parent resource settings. To confirm the effective settings, call +// GetAccessApprovalSettings and verify effective setting is disabled. // // - name: Name of the AccessApprovalSettings to delete. func (r *OrganizationsService) DeleteAccessApprovalSettings(name string) *OrganizationsDeleteAccessApprovalSettingsCall { @@ -2023,8 +2059,8 @@ type OrganizationsGetAccessApprovalSettingsCall struct { header_ http.Header } -// GetAccessApprovalSettings: Gets the settings associated with a project, -// folder, or organization. +// GetAccessApprovalSettings: Gets the Access Approval settings associated with +// a project, folder, or organization. // // - name: The name of the AccessApprovalSettings to retrieve. Format: // "{projects|folders|organizations}/{id}/accessApprovalSettings". @@ -2476,10 +2512,10 @@ type OrganizationsApprovalRequestsDismissCall struct { } // Dismiss: Dismisses a request. Returns the updated ApprovalRequest. NOTE: -// This does not deny access to the resource if another request has been made -// and approved. It is equivalent in effect to ignoring the request altogether. -// Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION -// if the request exists but is not in a pending state. +// When a request is dismissed, it is considered ignored. Dismissing a request +// does not prevent access granted by other Access Approval requests. Returns +// NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the +// request exists but is not in a pending state. // // - name: Name of the ApprovalRequest to dismiss. func (r *OrganizationsApprovalRequestsService) Dismiss(name string, dismissapprovalrequestmessage *DismissApprovalRequestMessage) *OrganizationsApprovalRequestsDismissCall { @@ -2696,10 +2732,10 @@ type OrganizationsApprovalRequestsInvalidateCall struct { } // Invalidate: Invalidates an existing ApprovalRequest. Returns the updated -// ApprovalRequest. NOTE: This does not deny access to the resource if another -// request has been made and approved. It only invalidates a single approval. -// Returns FAILED_PRECONDITION if the request exists but is not in an approved -// state. +// ApprovalRequest. NOTE: This action revokes Google access based on this +// approval request. If the resource has other active approvals, access will +// remain granted. Returns FAILED_PRECONDITION if the request exists but is not +// in an approved state. // // - name: Name of the ApprovalRequest to invalidate. func (r *OrganizationsApprovalRequestsService) Invalidate(name string, invalidateapprovalrequestmessage *InvalidateApprovalRequestMessage) *OrganizationsApprovalRequestsInvalidateCall { @@ -2964,10 +3000,9 @@ type ProjectsDeleteAccessApprovalSettingsCall struct { // DeleteAccessApprovalSettings: Deletes the settings associated with a // project, folder, or organization. This will have the effect of disabling -// Access Approval for the project, folder, or organization, but only if all -// ancestors also have Access Approval disabled. If Access Approval is enabled -// at a higher level of the hierarchy, then Access Approval will still be -// enabled at this level as the settings are inherited. +// Access Approval for the resource. Access Approval may remain active based on +// parent resource settings. To confirm the effective settings, call +// GetAccessApprovalSettings and verify effective setting is disabled. // // - name: Name of the AccessApprovalSettings to delete. func (r *ProjectsService) DeleteAccessApprovalSettings(name string) *ProjectsDeleteAccessApprovalSettingsCall { @@ -3065,8 +3100,8 @@ type ProjectsGetAccessApprovalSettingsCall struct { header_ http.Header } -// GetAccessApprovalSettings: Gets the settings associated with a project, -// folder, or organization. +// GetAccessApprovalSettings: Gets the Access Approval settings associated with +// a project, folder, or organization. // // - name: The name of the AccessApprovalSettings to retrieve. Format: // "{projects|folders|organizations}/{id}/accessApprovalSettings". @@ -3518,10 +3553,10 @@ type ProjectsApprovalRequestsDismissCall struct { } // Dismiss: Dismisses a request. Returns the updated ApprovalRequest. NOTE: -// This does not deny access to the resource if another request has been made -// and approved. It is equivalent in effect to ignoring the request altogether. -// Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION -// if the request exists but is not in a pending state. +// When a request is dismissed, it is considered ignored. Dismissing a request +// does not prevent access granted by other Access Approval requests. Returns +// NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the +// request exists but is not in a pending state. // // - name: Name of the ApprovalRequest to dismiss. func (r *ProjectsApprovalRequestsService) Dismiss(name string, dismissapprovalrequestmessage *DismissApprovalRequestMessage) *ProjectsApprovalRequestsDismissCall { @@ -3738,10 +3773,10 @@ type ProjectsApprovalRequestsInvalidateCall struct { } // Invalidate: Invalidates an existing ApprovalRequest. Returns the updated -// ApprovalRequest. NOTE: This does not deny access to the resource if another -// request has been made and approved. It only invalidates a single approval. -// Returns FAILED_PRECONDITION if the request exists but is not in an approved -// state. +// ApprovalRequest. NOTE: This action revokes Google access based on this +// approval request. If the resource has other active approvals, access will +// remain granted. Returns FAILED_PRECONDITION if the request exists but is not +// in an approved state. // // - name: Name of the ApprovalRequest to invalidate. func (r *ProjectsApprovalRequestsService) Invalidate(name string, invalidateapprovalrequestmessage *InvalidateApprovalRequestMessage) *ProjectsApprovalRequestsInvalidateCall { diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 16d721ed36..a1889b9763 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -1528,7 +1528,7 @@ } } }, - "revision": "20250909", + "revision": "20250911", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -2754,7 +2754,7 @@ "type": "object" }, "GoogleAppsCardV1Carousel": { - "description": "[Developer Preview](https://developers.google.com/workspace/preview): A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { \"carouselCards\": [ { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Second text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Third text paragraph in carousel\", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat):", + "description": "A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { \"carouselCards\": [ { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Second text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Third text paragraph in carousel\", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat):", "id": "GoogleAppsCardV1Carousel", "properties": { "carouselCards": { @@ -2768,7 +2768,7 @@ "type": "object" }, "GoogleAppsCardV1CarouselCard": { - "description": "[Developer Preview](https://developers.google.com/workspace/preview): A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat):", + "description": "A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat):", "id": "GoogleAppsCardV1CarouselCard", "properties": { "footerWidgets": { @@ -3368,7 +3368,7 @@ "type": "object" }, "GoogleAppsCardV1NestedWidget": { - "description": "[Developer Preview](https://developers.google.com/workspace/preview): A list of widgets that can be displayed in a containing layout, such as a `CarouselCard`. [Google Chat apps](https://developers.google.com/workspace/chat):", + "description": "A list of widgets that can be displayed in a containing layout, such as a `CarouselCard`. [Google Chat apps](https://developers.google.com/workspace/chat):", "id": "GoogleAppsCardV1NestedWidget", "properties": { "buttonList": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index bae3bbb623..99295db5f8 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -2405,16 +2405,14 @@ func (s GoogleAppsCardV1CardHeader) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleAppsCardV1Carousel: Developer Preview -// (https://developers.google.com/workspace/preview): A carousel, also known as -// a slider, rotates and displays a list of widgets in a slideshow format, with -// buttons navigating to the previous or next widget. For example, this is a -// JSON representation of a carousel that contains three text paragraph -// widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { -// "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { -// "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { -// "widgets": [ { "textParagraph": { "text": "Third text paragraph in -// carousel", } } ] } ] } ``` Google Chat apps +// GoogleAppsCardV1Carousel: A carousel, also known as a slider, rotates and +// displays a list of widgets in a slideshow format, with buttons navigating to +// the previous or next widget. For example, this is a JSON representation of a +// carousel that contains three text paragraph widgets. ``` { "carouselCards": +// [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in +// carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text +// paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": +// "Third text paragraph in carousel", } } ] } ] } ``` Google Chat apps // (https://developers.google.com/workspace/chat): type GoogleAppsCardV1Carousel struct { // CarouselCards: A list of cards included in the carousel. @@ -2437,10 +2435,8 @@ func (s GoogleAppsCardV1Carousel) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleAppsCardV1CarouselCard: Developer Preview -// (https://developers.google.com/workspace/preview): A card that can be -// displayed as a carousel item. Google Chat apps -// (https://developers.google.com/workspace/chat): +// GoogleAppsCardV1CarouselCard: A card that can be displayed as a carousel +// item. Google Chat apps (https://developers.google.com/workspace/chat): type GoogleAppsCardV1CarouselCard struct { // FooterWidgets: A list of widgets displayed at the bottom of the carousel // card. The widgets are displayed in the order that they are specified. @@ -3302,10 +3298,9 @@ func (s GoogleAppsCardV1MaterialIcon) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleAppsCardV1NestedWidget: Developer Preview -// (https://developers.google.com/workspace/preview): A list of widgets that -// can be displayed in a containing layout, such as a `CarouselCard`. Google -// Chat apps (https://developers.google.com/workspace/chat): +// GoogleAppsCardV1NestedWidget: A list of widgets that can be displayed in a +// containing layout, such as a `CarouselCard`. Google Chat apps +// (https://developers.google.com/workspace/chat): type GoogleAppsCardV1NestedWidget struct { // ButtonList: A button list widget. ButtonList *GoogleAppsCardV1ButtonList `json:"buttonList,omitempty"`