{ "version_module": true, "schemas": { "GoogleAppsCloudidentityDevicesV1Device": { "id": "GoogleAppsCloudidentityDevicesV1Device", "description": " A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user.", "type": "object", "properties": { "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device.", "readOnly": true, "type": "string" }, "createTime": { "description": "Output only. When the Company-Owned device was imported. This field is empty for BYOD devices.", "readOnly": true, "type": "string", "format": "google-datetime" }, "lastSyncTime": { "description": "Most recent time when device synced with this service.", "type": "string", "format": "google-datetime" }, "ownerType": { "description": "Output only. Whether the device is owned by the company or an individual", "readOnly": true, "type": "string", "enumDescriptions": [ "Default value. The value is unused.", "Company owns the device.", "Bring Your Own Device (i.e. individual owns the device)" ], "enum": [ "DEVICE_OWNERSHIP_UNSPECIFIED", "COMPANY", "BYOD" ] }, "model": { "description": "Output only. Model name of device. Example: Pixel 3.", "readOnly": true, "type": "string" }, "osVersion": { "description": "Output only. OS version of the device. Example: Android 8.1.0.", "readOnly": true, "type": "string" }, "deviceType": { "description": "Output only. Type of device.", "readOnly": true, "type": "string", "enumDescriptions": [ "Unknown device type", "Device is an Android device", "Device is an iOS device", "Device is a Google Sync device.", "Device is a Windows device.", "Device is a MacOS device.", "Device is a Linux device.", "Device is a ChromeOS device." ], "enum": [ "DEVICE_TYPE_UNSPECIFIED", "ANDROID", "IOS", "GOOGLE_SYNC", "WINDOWS", "MAC_OS", "LINUX", "CHROME_OS" ] }, "serialNumber": { "description": "Serial Number of device. Example: HT82V1A01076.", "type": "string" }, "assetTag": { "description": "Asset tag of the device.", "type": "string" }, "imei": { "description": "Output only. IMEI number of device if GSM device; empty otherwise.", "readOnly": true, "type": "string" }, "meid": { "description": "Output only. MEID number of device if CDMA device; empty otherwise.", "readOnly": true, "type": "string" }, "wifiMacAddresses": { "description": "WiFi MAC addresses of device.", "type": "array", "items": { "type": "string" } }, "networkOperator": { "description": "Output only. Mobile or network operator of device, if available.", "readOnly": true, "type": "string" }, "manufacturer": { "description": "Output only. Device manufacturer. Example: Motorola.", "readOnly": true, "type": "string" }, "releaseVersion": { "description": "Output only. OS release version. Example: 6.0.", "readOnly": true, "type": "string" }, "brand": { "description": "Output only. Device brand. Example: Samsung.", "readOnly": true, "type": "string" }, "buildNumber": { "description": "Output only. Build number of the device.", "readOnly": true, "type": "string" }, "kernelVersion": { "description": "Output only. Kernel version of the device.", "readOnly": true, "type": "string" }, "basebandVersion": { "description": "Output only. Baseband version of the device.", "readOnly": true, "type": "string" }, "enabledDeveloperOptions": { "description": "Output only. Whether developer options is enabled on device.", "readOnly": true, "type": "boolean" }, "otherAccounts": { "description": "Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: \"com.example\", \"xyz.com\".", "readOnly": true, "type": "array", "items": { "type": "string" } }, "enabledUsbDebugging": { "description": "Output only. Whether USB debugging is enabled on device.", "readOnly": true, "type": "boolean" }, "securityPatchTime": { "description": "Output only. OS security patch update time on device.", "readOnly": true, "type": "string", "format": "google-datetime" }, "bootloaderVersion": { "description": "Output only. Device bootloader version. Example: 0.6.7.", "readOnly": true, "type": "string" }, "encryptionState": { "description": "Output only. Device encryption state.", "readOnly": true, "type": "string", "enumDescriptions": [ "Encryption Status is not set.", "Device doesn't support encryption.", "Device is encrypted.", "Device is not encrypted." ], "enum": [ "ENCRYPTION_STATE_UNSPECIFIED", "UNSUPPORTED_BY_DEVICE", "ENCRYPTED", "NOT_ENCRYPTED" ] }, "androidSpecificAttributes": { "description": "Output only. Attributes specific to Android devices.", "readOnly": true, "$ref": "GoogleAppsCloudidentityDevicesV1AndroidAttributes" }, "managementState": { "description": "Output only. Management state of the device", "readOnly": true, "type": "string", "enumDescriptions": [ "Default value. This value is unused.", "Device is approved.", "Device is blocked.", "Device is pending approval.", "The device is not provisioned. Device will start from this state until some action is taken (i.e. a user starts using the device).", "Data and settings on the device are being removed.", "All data and settings on the device are removed." ], "enum": [ "MANAGEMENT_STATE_UNSPECIFIED", "APPROVED", "BLOCKED", "PENDING", "UNPROVISIONED", "WIPING", "WIPED" ] }, "compromisedState": { "description": "Output only. Represents whether the Device is compromised.", "readOnly": true, "type": "string", "enumDescriptions": [ "Default value.", "The device is compromised (currently, this means Android device is rooted).", "The device is safe (currently, this means Android device is unrooted)." ], "enum": [ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "UNCOMPROMISED" ] }, "deviceId": { "description": "Unique identifier for the device.", "type": "string" }, "unifiedDeviceId": { "description": "Output only. Unified device id of the device.", "readOnly": true, "type": "string" }, "endpointVerificationSpecificAttributes": { "description": "Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices.", "readOnly": true, "$ref": "GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes" }, "hostname": { "description": "Host name of the device.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1AndroidAttributes": { "id": "GoogleAppsCloudidentityDevicesV1AndroidAttributes", "description": "Resource representing the Android specific attributes of a Device.", "type": "object", "properties": { "enabledUnknownSources": { "description": "Whether applications from unknown sources can be installed on device.", "type": "boolean" }, "supportsWorkProfile": { "description": "Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the \"Enforce Work Profile\" policy.", "type": "boolean" }, "ownerProfileAccount": { "description": "Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.", "type": "boolean" }, "ownershipPrivilege": { "description": "Ownership privileges on device.", "type": "string", "enumDescriptions": [ "Ownership privilege is not set.", "Active device administrator privileges on the device.", "Profile Owner privileges. The account is in a managed corporate profile.", "Device Owner privileges on the device." ], "enum": [ "OWNERSHIP_PRIVILEGE_UNSPECIFIED", "DEVICE_ADMINISTRATOR", "PROFILE_OWNER", "DEVICE_OWNER" ] }, "verifiedBoot": { "description": "Whether Android verified boot status is GREEN.", "type": "boolean" }, "ctsProfileMatch": { "description": "Whether the device passes Android CTS compliance.", "type": "boolean" }, "verifyAppsEnabled": { "description": "Whether Google Play Protect Verify Apps is enabled.", "type": "boolean" }, "hasPotentiallyHarmfulApps": { "description": "Whether any potentially harmful apps were detected on the device.", "type": "boolean" } } }, "GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes": { "id": "GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes", "description": "Resource representing the [Endpoint Verification-specific attributes](https://cloud.google.com/endpoint-verification/docs/device-information) of a device.", "type": "object", "properties": { "certificateAttributes": { "description": "Details of certificates.", "type": "array", "items": { "$ref": "GoogleAppsCloudidentityDevicesV1CertificateAttributes" } }, "browserAttributes": { "description": "Details of browser profiles reported by Endpoint Verification.", "type": "array", "items": { "$ref": "GoogleAppsCloudidentityDevicesV1BrowserAttributes" } }, "additionalSignals": { "description": "Additional signals reported by Endpoint Verification. It includes the following attributes: 1. Non-configurable attributes: hotfixes, av_installed, av_enabled, windows_domain_name, is_os_native_firewall_enabled, and is_secure_boot_enabled. 2. [Configurable attributes](https://cloud.google.com/endpoint-verification/docs/collect-config-attributes): file, folder, and binary attributes; registry entries; and properties in a plist.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object." } } } }, "GoogleAppsCloudidentityDevicesV1CertificateAttributes": { "id": "GoogleAppsCloudidentityDevicesV1CertificateAttributes", "description": "Stores information about a certificate.", "type": "object", "properties": { "fingerprint": { "description": "The encoded certificate fingerprint.", "type": "string" }, "thumbprint": { "description": "The certificate thumbprint.", "type": "string" }, "validationState": { "description": "Output only. Validation state of this certificate.", "readOnly": true, "type": "string", "enumDescriptions": [ "Default value.", "Certificate validation was successful.", "Certificate validation failed." ], "enum": [ "CERTIFICATE_VALIDATION_STATE_UNSPECIFIED", "VALIDATION_SUCCESSFUL", "VALIDATION_FAILED" ] }, "serialNumber": { "description": "Serial number of the certificate, Example: \"123456789\".", "type": "string" }, "validityStartTime": { "description": "Certificate not valid before this timestamp.", "type": "string", "format": "google-datetime" }, "validityExpirationTime": { "description": "Certificate not valid at or after this timestamp.", "type": "string", "format": "google-datetime" }, "issuer": { "description": "The name of the issuer of this certificate.", "type": "string" }, "subject": { "description": "The subject name of this certificate.", "type": "string" }, "certificateTemplate": { "description": "The X.509 extension for CertificateTemplate.", "$ref": "GoogleAppsCloudidentityDevicesV1CertificateTemplate" } } }, "GoogleAppsCloudidentityDevicesV1CertificateTemplate": { "id": "GoogleAppsCloudidentityDevicesV1CertificateTemplate", "description": "CertificateTemplate (v3 Extension in X.509).", "type": "object", "properties": { "id": { "description": "The template id of the template. Example: \"1.3.6.1.4.1.311.21.8.15608621.11768144.5720724.16068415.6889630.81.2472537.7784047\".", "type": "string" }, "majorVersion": { "description": "The Major version of the template. Example: 100.", "type": "integer", "format": "int32" }, "minorVersion": { "description": "The minor version of the template. Example: 12.", "type": "integer", "format": "int32" } } }, "GoogleAppsCloudidentityDevicesV1BrowserAttributes": { "id": "GoogleAppsCloudidentityDevicesV1BrowserAttributes", "description": "Contains information about browser profiles reported by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1).", "type": "object", "properties": { "lastProfileSyncTime": { "description": "Timestamp in milliseconds since Epoch when the profile/gcm id was last synced.", "type": "string", "format": "google-datetime" }, "chromeBrowserInfo": { "description": "Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1).", "$ref": "GoogleAppsCloudidentityDevicesV1BrowserInfo" }, "chromeProfileId": { "description": "Chrome profile ID that is exposed by the Chrome API. It is unique for each device.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1BrowserInfo": { "id": "GoogleAppsCloudidentityDevicesV1BrowserInfo", "description": "Browser-specific fields reported by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1). LINT.IfChange", "type": "object", "properties": { "browserVersion": { "description": "Version of the request initiating browser.", "type": "string" }, "browserManagementState": { "description": "Output only. Browser's management state.", "readOnly": true, "type": "string", "enumDescriptions": [ "Management state is not specified.", "Browser/Profile is not managed by any customer.", "Browser/Profile is managed, but by some other customer.", "Profile is managed by customer.", "Browser is managed by customer." ], "enum": [ "UNSPECIFIED", "UNMANAGED", "MANAGED_BY_OTHER_DOMAIN", "PROFILE_MANAGED", "BROWSER_MANAGED" ] }, "isFileUploadAnalysisEnabled": { "description": "Current state of [file upload analysis](https://chromeenterprise.google/policies/#OnFileAttachedEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", "type": "boolean" }, "isFileDownloadAnalysisEnabled": { "description": "Current state of [file download analysis](https://chromeenterprise.google/policies/#OnFileDownloadedEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", "type": "boolean" }, "isBulkDataEntryAnalysisEnabled": { "description": "Current state of [bulk data analysis](https://chromeenterprise.google/policies/#OnBulkDataEntryEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", "type": "boolean" }, "isSecurityEventAnalysisEnabled": { "description": "Current state of [security event analysis](https://chromeenterprise.google/policies/#OnSecurityEventEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", "type": "boolean" }, "isRealtimeUrlCheckEnabled": { "description": "Current state of [real-time URL check](https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode). Set to true if provider list from Chrome is non-empty.", "type": "boolean" }, "safeBrowsingProtectionLevel": { "description": "Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel).", "type": "string", "enumDescriptions": [ "Browser protection level is not specified.", "No protection against dangerous websites, downloads, and extensions.", "Standard protection against websites, downloads, and extensions that are known to be dangerous.", "Faster, proactive protection against dangerous websites, downloads, and extensions." ], "enum": [ "SAFE_BROWSING_LEVEL_UNSPECIFIED", "DISABLED", "STANDARD", "ENHANCED" ] }, "isSiteIsolationEnabled": { "description": "Current state of [site isolation](https://chromeenterprise.google/policies/?policy=IsolateOrigins).", "type": "boolean" }, "isBuiltInDnsClientEnabled": { "description": "Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled).", "type": "boolean" }, "passwordProtectionWarningTrigger": { "description": "Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger).", "type": "string", "enumDescriptions": [ "Password protection is not specified.", "Password reuse is never detected.", "Warning is shown when the user reuses their protected password on a non-allowed site.", "Warning is shown when the user reuses their protected password on a phishing site." ], "enum": [ "PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED", "PROTECTION_OFF", "PASSWORD_REUSE", "PHISHING_REUSE" ] }, "isChromeRemoteDesktopAppBlocked": { "description": "Current state of [Chrome Remote Desktop app](https://chromeenterprise.google/policies/#URLBlocklist).", "type": "boolean" }, "isChromeCleanupEnabled": { "description": "Current state of [Chrome Cleanup](https://chromeenterprise.google/policies/#ChromeCleanupEnabled).", "type": "boolean" }, "isThirdPartyBlockingEnabled": { "description": "Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled).", "type": "boolean" } } }, "Operation": { "id": "Operation", "description": "This resource represents a long-running operation that is the result of a network API call.", "type": "object", "properties": { "name": { "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", "type": "string" }, "metadata": { "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } }, "done": { "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", "type": "boolean" }, "error": { "description": "The error result of the operation in case of failure or cancellation.", "$ref": "Status" }, "response": { "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } } } }, "Status": { "id": "Status", "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "type": "object", "properties": { "code": { "description": "The status code, which should be an enum value of google.rpc.Code.", "type": "integer", "format": "int32" }, "message": { "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", "type": "string" }, "details": { "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", "type": "array", "items": { "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } } } } }, "GoogleAppsCloudidentityDevicesV1ListDevicesResponse": { "id": "GoogleAppsCloudidentityDevicesV1ListDevicesResponse", "description": "Response message that is returned from the ListDevices method.", "type": "object", "properties": { "devices": { "description": "Devices meeting the list restrictions.", "type": "array", "items": { "$ref": "GoogleAppsCloudidentityDevicesV1Device" } }, "nextPageToken": { "description": "Token to retrieve the next page of results. Empty if there are no more results.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1WipeDeviceRequest": { "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceRequest", "description": "Request message for wiping all data on the device.", "type": "object", "properties": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" }, "removeResetLock": { "description": "Optional. Specifies if a user is able to factory reset a device after a Device Wipe. On iOS, this is called \"Activation Lock\", while on Android, this is known as \"Factory Reset Protection\". If true, this protection will be removed from the device, so that a user can successfully factory reset. If false, the setting is untouched on the device.", "type": "boolean" } } }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest": { "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest", "description": "Request message for cancelling an unfinished device wipe.", "type": "object", "properties": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1DeviceUser": { "id": "GoogleAppsCloudidentityDevicesV1DeviceUser", "description": "Represents a user's use of a Device in the Cloud Identity Devices API. A DeviceUser is a resource representing a user's use of a Device", "type": "object", "properties": { "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where `device_user` uniquely identifies a user's use of a device.", "readOnly": true, "type": "string" }, "userEmail": { "description": "Email address of the user registered on the device.", "type": "string" }, "managementState": { "description": "Output only. Management state of the user on the device.", "readOnly": true, "type": "string", "enumDescriptions": [ "Default value. This value is unused.", "This user's data and profile is being removed from the device.", "This user's data and profile is removed from the device.", "User is approved to access data on the device.", "User is blocked from accessing data on the device.", "User is awaiting approval.", "User is unenrolled from Advanced Windows Management, but the Windows account is still intact." ], "enum": [ "MANAGEMENT_STATE_UNSPECIFIED", "WIPING", "WIPED", "APPROVED", "BLOCKED", "PENDING_APPROVAL", "UNENROLLED" ] }, "firstSyncTime": { "description": "Output only. Most recent time when user registered with this service.", "readOnly": true, "type": "string", "format": "google-datetime" }, "lastSyncTime": { "description": "Output only. Last time when user synced with policies.", "readOnly": true, "type": "string", "format": "google-datetime" }, "userAgent": { "description": "Output only. User agent on the device for this specific user", "readOnly": true, "type": "string" }, "languageCode": { "description": "Output only. Default locale used on device, in IETF BCP-47 format.", "readOnly": true, "type": "string" }, "compromisedState": { "description": "Compromised State of the DeviceUser object", "type": "string", "enumDescriptions": [ "Compromised state of Device User account is unknown or unspecified.", "Device User Account is compromised.", "Device User Account is not compromised." ], "enum": [ "COMPROMISED_STATE_UNSPECIFIED", "COMPROMISED", "NOT_COMPROMISED" ] }, "passwordState": { "description": "Password state of the DeviceUser object", "type": "string", "enumDescriptions": [ "Password state not set.", "Password set in object.", "Password not set in object." ], "enum": [ "PASSWORD_STATE_UNSPECIFIED", "PASSWORD_SET", "PASSWORD_NOT_SET" ] }, "createTime": { "description": "When the user first signed in to the device", "type": "string", "format": "google-datetime" } } }, "GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse": { "id": "GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse", "description": "Response message that is returned from the ListDeviceUsers method.", "type": "object", "properties": { "deviceUsers": { "description": "Devices meeting the list restrictions.", "type": "array", "items": { "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" } }, "nextPageToken": { "description": "Token to retrieve the next page of results. Empty if there are no more results.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse": { "id": "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse", "description": "Response containing resource names of the DeviceUsers associated with the caller's credentials.", "type": "object", "properties": { "names": { "description": "[Resource names](https://cloud.google.com/apis/design/resource_names) of the DeviceUsers in the format: `devices/{device}/deviceUsers/{user_resource}`, where device is the unique ID assigned to a Device and user_resource is the unique user ID", "type": "array", "items": { "type": "string" } }, "customer": { "description": "The customer resource name that may be passed back to other Devices API methods such as List, Get, etc.", "type": "string" }, "nextPageToken": { "description": "Token to retrieve the next page of results. Empty if there are no more results.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest": { "id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest", "description": "Request message for approving the device to access user data.", "type": "object", "properties": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest": { "id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest", "description": "Request message for blocking account on device.", "type": "object", "properties": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest": { "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest", "description": "Request message for starting an account wipe on device.", "type": "object", "properties": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest": { "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest", "description": "Request message for cancelling an unfinished user account wipe.", "type": "object", "properties": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "type": "string" } } }, "GoogleAppsCloudidentityDevicesV1ClientState": { "id": "GoogleAppsCloudidentityDevicesV1ClientState", "description": "Represents the state associated with an API client calling the Devices API. Resource representing ClientState and supports updates from API users", "type": "object", "properties": { "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", "readOnly": true, "type": "string" }, "createTime": { "description": "Output only. The time the client state data was created.", "readOnly": true, "type": "string", "format": "google-datetime" }, "lastUpdateTime": { "description": "Output only. The time the client state data was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" }, "etag": { "description": "The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest", "type": "string" }, "customId": { "description": "This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field.", "type": "string" }, "assetTags": { "description": "The caller can specify asset tags for this resource", "type": "array", "items": { "type": "string" } }, "healthScore": { "description": "The Health score of the resource. The Health score is the callers specification of the condition of the device from a usability point of view. For example, a third-party device management provider may specify a health score based on its compliance with organizational policies.", "type": "string", "enumDescriptions": [ "Default value", "The object is in very poor health as defined by the caller.", "The object is in poor health as defined by the caller.", "The object health is neither good nor poor, as defined by the caller.", "The object is in good health as defined by the caller.", "The object is in very good health as defined by the caller." ], "enum": [ "HEALTH_SCORE_UNSPECIFIED", "VERY_POOR", "POOR", "NEUTRAL", "GOOD", "VERY_GOOD" ] }, "scoreReason": { "description": "A descriptive cause of the health score.", "type": "string" }, "managed": { "description": "The management state of the resource as specified by the API client.", "type": "string", "enumDescriptions": [ "The management state of the resource is unknown or unspecified.", "The resource is managed.", "The resource is not managed." ], "enum": [ "MANAGED_STATE_UNSPECIFIED", "MANAGED", "UNMANAGED" ] }, "complianceState": { "description": "The compliance state of the resource as specified by the API client.", "type": "string", "enumDescriptions": [ "The compliance state of the resource is unknown or unspecified.", "Device is compliant with third party policies", "Device is not compliant with third party policies" ], "enum": [ "COMPLIANCE_STATE_UNSPECIFIED", "COMPLIANT", "NON_COMPLIANT" ] }, "keyValuePairs": { "description": "The map of key-value attributes stored by callers specific to a device. The total serialized length of this map may not exceed 10KB. No limit is placed on the number of attributes in a map.", "type": "object", "additionalProperties": { "$ref": "GoogleAppsCloudidentityDevicesV1CustomAttributeValue" } }, "ownerType": { "description": "Output only. The owner of the ClientState", "readOnly": true, "type": "string", "enumDescriptions": [ "Unknown owner type", "Customer is the owner", "Partner is the owner" ], "enum": [ "OWNER_TYPE_UNSPECIFIED", "OWNER_TYPE_CUSTOMER", "OWNER_TYPE_PARTNER" ] } } }, "GoogleAppsCloudidentityDevicesV1CustomAttributeValue": { "id": "GoogleAppsCloudidentityDevicesV1CustomAttributeValue", "description": "Additional custom attribute values may be one of these types", "type": "object", "properties": { "numberValue": { "description": "Represents a double value.", "type": "number", "format": "double" }, "stringValue": { "description": "Represents a string value.", "type": "string" }, "boolValue": { "description": "Represents a boolean value.", "type": "boolean" } } }, "GoogleAppsCloudidentityDevicesV1ListClientStatesResponse": { "id": "GoogleAppsCloudidentityDevicesV1ListClientStatesResponse", "description": "Response message that is returned in ListClientStates.", "type": "object", "properties": { "clientStates": { "description": "Client states meeting the list restrictions.", "type": "array", "items": { "$ref": "GoogleAppsCloudidentityDevicesV1ClientState" } }, "nextPageToken": { "description": "Token to retrieve the next page of results. Empty if there are no more results.", "type": "string" } } }, "Group": { "id": "Group", "description": "A group within the Cloud Identity Groups API. A `Group` is a collection of entities, where each entity is either a user, another group, or a service account.", "type": "object", "properties": { "name": { "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group}`.", "readOnly": true, "type": "string" }, "groupKey": { "description": "Required. The `EntityKey` of the `Group`.", "$ref": "EntityKey" }, "additionalGroupKeys": { "description": "Output only. Additional group keys associated with the Group.", "readOnly": true, "type": "array", "items": { "$ref": "EntityKey" } }, "parent": { "description": "Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source}` for external [identity-mapped groups](https://support.google.com/a/answer/9039510) or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)", "type": "string" }, "displayName": { "description": "The display name of the `Group`.", "type": "string" }, "description": { "description": "An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters.", "type": "string" }, "createTime": { "description": "Output only. The time when the `Group` was created.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. The time when the `Group` was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" }, "labels": { "description": "Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value.", "type": "object", "additionalProperties": { "type": "string" } }, "dynamicGroupMetadata": { "description": "Optional. Dynamic group metadata like queries and status.", "$ref": "DynamicGroupMetadata" } } }, "EntityKey": { "id": "EntityKey", "description": "A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s.", "type": "object", "properties": { "id": { "description": "The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://support.google.com/a/answer/9193374). For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`.", "type": "string" }, "namespace": { "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", "type": "string" } } }, "DynamicGroupMetadata": { "id": "DynamicGroupMetadata", "description": "Dynamic group metadata like queries and status.", "type": "object", "properties": { "queries": { "description": "Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 500 dynamic groups.", "type": "array", "items": { "$ref": "DynamicGroupQuery" } }, "status": { "description": "Output only. Status of the dynamic group.", "readOnly": true, "$ref": "DynamicGroupStatus" } } }, "DynamicGroupQuery": { "id": "DynamicGroupQuery", "description": "Defines a query on a resource.", "type": "object", "properties": { "resourceType": { "description": "Resource type for the Dynamic Group Query", "type": "string", "enumDescriptions": [ "Default value (not valid)", "For queries on User" ], "enum": [ "RESOURCE_TYPE_UNSPECIFIED", "USER" ] }, "query": { "description": "Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department=='engineering')` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users with any variation of the name John Doe (case-insensitive queries add `equalsIgnoreCase()` to the value being queried). `user.name.value.equalsIgnoreCase('jOhn DoE')`", "type": "string" } } }, "DynamicGroupStatus": { "id": "DynamicGroupStatus", "description": "The current status of a dynamic group along with timestamp.", "type": "object", "properties": { "status": { "description": "Status of the dynamic group.", "type": "string", "enumDescriptions": [ "Default.", "The dynamic group is up-to-date.", "The dynamic group has just been created and memberships are being updated.", "Group is in an unrecoverable state and its memberships can't be updated." ], "enum": [ "STATUS_UNSPECIFIED", "UP_TO_DATE", "UPDATING_MEMBERSHIPS", "INVALID_QUERY" ] }, "statusTime": { "description": "The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created.", "type": "string", "format": "google-datetime" } } }, "SecuritySettings": { "id": "SecuritySettings", "description": "The definition of security settings.", "type": "object", "properties": { "name": { "description": "Output only. The resource name of the security settings. Shall be of the form `groups/{group_id}/securitySettings`.", "readOnly": true, "type": "string" }, "memberRestriction": { "description": "The Member Restriction value", "$ref": "MemberRestriction" } } }, "MemberRestriction": { "id": "MemberRestriction", "description": "The definition of MemberRestriction", "type": "object", "properties": { "query": { "description": "Member Restriction as defined by CEL expression. Supported restrictions are: `member.customer_id` and `member.type`. Valid values for `member.type` are `1`, `2` and `3`. They correspond to USER, SERVICE_ACCOUNT, and GROUP respectively. The value for `member.customer_id` only supports `groupCustomerId()` currently which means the customer id of the group will be used for restriction. Supported operators are `&&`, `||` and `==`, corresponding to AND, OR, and EQUAL. Examples: Allow only service accounts of given customer to be members. `member.type == 2 && member.customer_id == groupCustomerId()` Allow only users or groups to be members. `member.type == 1 || member.type == 3`", "type": "string" }, "evaluation": { "description": "The evaluated state of this restriction on a group.", "$ref": "RestrictionEvaluation" } } }, "RestrictionEvaluation": { "id": "RestrictionEvaluation", "description": "The evaluated state of this restriction.", "type": "object", "properties": { "state": { "description": "Output only. The current state of the restriction", "readOnly": true, "type": "string", "enumDescriptions": [ "Default. Should not be used.", "The restriction state is currently being evaluated.", "All transitive memberships are adhering to restriction.", "Some transitive memberships violate the restriction. No new violating memberships can be added.", "Some transitive memberships violate the restriction. New violating direct memberships will be denied while indirect memberships may be added." ], "enum": [ "STATE_UNSPECIFIED", "EVALUATING", "COMPLIANT", "FORWARD_COMPLIANT", "NON_COMPLIANT" ] } } }, "LookupGroupNameResponse": { "id": "LookupGroupNameResponse", "description": "The response message for GroupsService.LookupGroupName.", "type": "object", "properties": { "name": { "description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Group`.", "type": "string" } } }, "SearchGroupsResponse": { "id": "SearchGroupsResponse", "description": "The response message for GroupsService.SearchGroups.", "type": "object", "properties": { "groups": { "description": "The `Group` resources that match the search query.", "type": "array", "items": { "$ref": "Group" } }, "nextPageToken": { "description": "A continuation token to retrieve the next page of results, or empty if there are no more results available.", "type": "string" } } }, "ListGroupsResponse": { "id": "ListGroupsResponse", "description": "Response message for ListGroups operation.", "type": "object", "properties": { "groups": { "description": "Groups returned in response to list request. The results are not sorted.", "type": "array", "items": { "$ref": "Group" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results available for listing.", "type": "string" } } }, "Membership": { "id": "Membership", "description": "A membership within the Cloud Identity Groups API. A `Membership` defines a relationship between a `Group` and an entity belonging to that `Group`, referred to as a \"member\".", "type": "object", "properties": { "name": { "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.", "readOnly": true, "type": "string" }, "preferredMemberKey": { "description": "Required. Immutable. The `EntityKey` of the member.", "$ref": "EntityKey" }, "createTime": { "description": "Output only. The time when the `Membership` was created.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. The time when the `Membership` was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" }, "roles": { "description": "The `MembershipRole`s that apply to the `Membership`. If unspecified, defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain duplicate `MembershipRole`s with the same `name`.", "type": "array", "items": { "$ref": "MembershipRole" } }, "type": { "description": "Output only. The type of the membership.", "readOnly": true, "type": "string", "enumDescriptions": [ "Default. Should not be used.", "Represents user type.", "Represents service account type.", "Represents group type.", "Represents Shared drive.", "Represents other type." ], "enum": [ "TYPE_UNSPECIFIED", "USER", "SERVICE_ACCOUNT", "GROUP", "SHARED_DRIVE", "OTHER" ] }, "deliverySetting": { "description": "Output only. Delivery setting associated with the membership.", "readOnly": true, "type": "string", "enumDescriptions": [ "Default. Should not be used.", "Represents each mail should be delivered", "Represents 1 email for every 25 messages.", "Represents daily summary of messages.", "Represents no delivery.", "Represents disabled state." ], "enum": [ "DELIVERY_SETTING_UNSPECIFIED", "ALL_MAIL", "DIGEST", "DAILY", "NONE", "DISABLED" ] } } }, "MembershipRole": { "id": "MembershipRole", "description": "A membership role within the Cloud Identity Groups API. A `MembershipRole` defines the privileges granted to a `Membership`.", "type": "object", "properties": { "name": { "description": "The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`, `MEMBER`.", "type": "string" }, "expiryDetail": { "description": "The expiry details of the `MembershipRole`. Expiry details are only supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`. Must not be set if `name` is any other value.", "$ref": "ExpiryDetail" }, "restrictionEvaluations": { "description": "Evaluations of restrictions applied to parent group on this membership.", "$ref": "RestrictionEvaluations" } } }, "ExpiryDetail": { "id": "ExpiryDetail", "description": "The `MembershipRole` expiry details.", "type": "object", "properties": { "expireTime": { "description": "The time at which the `MembershipRole` will expire.", "type": "string", "format": "google-datetime" } } }, "RestrictionEvaluations": { "id": "RestrictionEvaluations", "description": "Evaluations of restrictions applied to parent group on this membership.", "type": "object", "properties": { "memberRestrictionEvaluation": { "description": "Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation.", "$ref": "MembershipRoleRestrictionEvaluation" } } }, "MembershipRoleRestrictionEvaluation": { "id": "MembershipRoleRestrictionEvaluation", "description": "The evaluated state of this restriction.", "type": "object", "properties": { "state": { "description": "Output only. The current state of the restriction", "readOnly": true, "type": "string", "enumDescriptions": [ "Default. Should not be used.", "The member adheres to the parent group's restriction.", "The group-group membership might be currently violating some parent group's restriction but in future, it will never allow any new member in the child group which can violate parent group's restriction.", "The member violates the parent group's restriction.", "The state of the membership is under evaluation." ], "enum": [ "STATE_UNSPECIFIED", "COMPLIANT", "FORWARD_COMPLIANT", "NON_COMPLIANT", "EVALUATING" ] } } }, "LookupMembershipNameResponse": { "id": "LookupMembershipNameResponse", "description": "The response message for MembershipsService.LookupMembershipName.", "type": "object", "properties": { "name": { "description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Membership`. Must be of the form `groups/{group}/memberships/{membership}`.", "type": "string" } } }, "ListMembershipsResponse": { "id": "ListMembershipsResponse", "description": "The response message for MembershipsService.ListMemberships.", "type": "object", "properties": { "memberships": { "description": "The `Membership`s under the specified `parent`.", "type": "array", "items": { "$ref": "Membership" } }, "nextPageToken": { "description": "A continuation token to retrieve the next page of results, or empty if there are no more results available.", "type": "string" } } }, "ModifyMembershipRolesRequest": { "id": "ModifyMembershipRolesRequest", "description": "The request message for MembershipsService.ModifyMembershipRoles.", "type": "object", "properties": { "addRoles": { "description": "The `MembershipRole`s to be added. Adding or removing roles in the same request as updating roles is not supported. Must not be set if `update_roles_params` is set.", "type": "array", "items": { "$ref": "MembershipRole" } }, "removeRoles": { "description": "The `name`s of the `MembershipRole`s to be removed. Adding or removing roles in the same request as updating roles is not supported. It is not possible to remove the `MEMBER` `MembershipRole`. If you wish to delete a `Membership`, call MembershipsService.DeleteMembership instead. Must not contain `MEMBER`. Must not be set if `update_roles_params` is set.", "type": "array", "items": { "type": "string" } }, "updateRolesParams": { "description": "The `MembershipRole`s to be updated. Updating roles in the same request as adding or removing roles is not supported. Must not be set if either `add_roles` or `remove_roles` is set.", "type": "array", "items": { "$ref": "UpdateMembershipRolesParams" } } } }, "UpdateMembershipRolesParams": { "id": "UpdateMembershipRolesParams", "description": "The details of an update to a `MembershipRole`.", "type": "object", "properties": { "fieldMask": { "description": "The fully-qualified names of fields to update. May only contain the field `expiry_detail.expire_time`.", "type": "string", "format": "google-fieldmask" }, "membershipRole": { "description": "The `MembershipRole`s to be updated. Only `MEMBER` `MembershipRole` can currently be updated.", "$ref": "MembershipRole" } } }, "ModifyMembershipRolesResponse": { "id": "ModifyMembershipRolesResponse", "description": "The response message for MembershipsService.ModifyMembershipRoles.", "type": "object", "properties": { "membership": { "description": "The `Membership` resource after modifying its `MembershipRole`s.", "$ref": "Membership" } } }, "SearchTransitiveMembershipsResponse": { "id": "SearchTransitiveMembershipsResponse", "description": "The response message for MembershipsService.SearchTransitiveMemberships.", "type": "object", "properties": { "memberships": { "description": "List of transitive members satisfying the query.", "type": "array", "items": { "$ref": "MemberRelation" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" } } }, "MemberRelation": { "id": "MemberRelation", "description": "Message representing a transitive membership of a group.", "type": "object", "properties": { "preferredMemberKey": { "description": "Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace.", "type": "array", "items": { "$ref": "EntityKey" } }, "member": { "description": "Resource name for this member.", "type": "string" }, "roles": { "description": "The membership role details (i.e name of role and expiry time).", "type": "array", "items": { "$ref": "TransitiveMembershipRole" } }, "relationType": { "description": "The relation between the group and the transitive member.", "type": "string", "enumDescriptions": [ "The relation type is undefined or undetermined.", "The two entities have only a direct membership with each other.", "The two entities have only an indirect membership with each other.", "The two entities have both a direct and an indirect membership with each other." ], "enum": [ "RELATION_TYPE_UNSPECIFIED", "DIRECT", "INDIRECT", "DIRECT_AND_INDIRECT" ] } } }, "TransitiveMembershipRole": { "id": "TransitiveMembershipRole", "description": "Message representing the role of a TransitiveMembership.", "type": "object", "properties": { "role": { "description": "TransitiveMembershipRole in string format. Currently supported TransitiveMembershipRoles: `\"MEMBER\"`, `\"OWNER\"`, and `\"MANAGER\"`.", "type": "string" } } }, "SearchTransitiveGroupsResponse": { "id": "SearchTransitiveGroupsResponse", "description": "The response message for MembershipsService.SearchTransitiveGroups.", "type": "object", "properties": { "memberships": { "description": "List of transitive groups satisfying the query.", "type": "array", "items": { "$ref": "GroupRelation" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results available for listing.", "type": "string" } } }, "GroupRelation": { "id": "GroupRelation", "description": "Message representing a transitive group of a user or a group.", "type": "object", "properties": { "groupKey": { "description": "Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace.", "$ref": "EntityKey" }, "group": { "description": "Resource name for this group.", "type": "string" }, "displayName": { "description": "Display name for this group.", "type": "string" }, "roles": { "description": "Membership roles of the member for the group.", "type": "array", "items": { "$ref": "TransitiveMembershipRole" } }, "relationType": { "description": "The relation between the member and the transitive group.", "type": "string", "enumDescriptions": [ "The relation type is undefined or undetermined.", "The two entities have only a direct membership with each other.", "The two entities have only an indirect membership with each other.", "The two entities have both a direct and an indirect membership with each other." ], "enum": [ "RELATION_TYPE_UNSPECIFIED", "DIRECT", "INDIRECT", "DIRECT_AND_INDIRECT" ] }, "labels": { "description": "Labels for Group resource.", "type": "object", "additionalProperties": { "type": "string" } } } }, "CheckTransitiveMembershipResponse": { "id": "CheckTransitiveMembershipResponse", "description": "The response message for MembershipsService.CheckTransitiveMembership.", "type": "object", "properties": { "hasMembership": { "description": "Response does not include the possible roles of a member since the behavior of this rpc is not all-or-nothing unlike the other rpcs. So, it may not be possible to list all the roles definitively, due to possible lack of authorization in some of the paths.", "type": "boolean" } } }, "SearchDirectGroupsResponse": { "id": "SearchDirectGroupsResponse", "description": "The response message for MembershipsService.SearchDirectGroups.", "type": "object", "properties": { "memberships": { "description": "List of direct groups satisfying the query.", "type": "array", "items": { "$ref": "MembershipRelation" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results available for listing.", "type": "string" } } }, "MembershipRelation": { "id": "MembershipRelation", "description": "Message containing membership relation.", "type": "object", "properties": { "membership": { "description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group_id}/memberships/{membership_id}`.", "type": "string" }, "roles": { "description": "The `MembershipRole`s that apply to the `Membership`.", "type": "array", "items": { "$ref": "MembershipRole" } }, "group": { "description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.", "type": "string" }, "groupKey": { "description": "The `EntityKey` of the `Group`.", "$ref": "EntityKey" }, "displayName": { "description": "The display name of the `Group`.", "type": "string" }, "labels": { "description": "One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value.", "type": "object", "additionalProperties": { "type": "string" } }, "description": { "description": "An extended description to help users determine the purpose of a `Group`.", "type": "string" } } }, "InboundSamlSsoProfile": { "id": "InboundSamlSsoProfile", "description": "A [SAML 2.0](https://www.oasis-open.org/standards#samlv2.0) federation between a Google enterprise customer and a SAML identity provider.", "type": "object", "properties": { "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile.", "readOnly": true, "type": "string" }, "customer": { "description": "Immutable. The customer. For example: `customers/C0123abc`.", "type": "string" }, "displayName": { "description": "Human-readable name of the SAML SSO profile.", "type": "string" }, "idpConfig": { "description": "SAML identity provider configuration.", "$ref": "SamlIdpConfig" }, "spConfig": { "description": "SAML service provider configuration for this SAML SSO profile. These are the service provider details provided by Google that should be configured on the corresponding identity provider.", "$ref": "SamlSpConfig" } } }, "SamlIdpConfig": { "id": "SamlIdpConfig", "description": "SAML IDP (identity provider) configuration.", "type": "object", "properties": { "entityId": { "description": "Required. The SAML **Entity ID** of the identity provider.", "type": "string" }, "singleSignOnServiceUri": { "description": "Required. The `SingleSignOnService` endpoint location (sign-in page URL) of the identity provider. This is the URL where the `AuthnRequest` will be sent. Must use `HTTPS`. Assumed to accept the `HTTP-Redirect` binding.", "type": "string" }, "logoutRedirectUri": { "description": "The **Logout Redirect URL** (sign-out page URL) of the identity provider. When a user clicks the sign-out link on a Google page, they will be redirected to this URL. This is a pure redirect with no attached SAML `LogoutRequest` i.e. SAML single logout is not supported. Must use `HTTPS`.", "type": "string" }, "changePasswordUri": { "description": "The **Change Password URL** of the identity provider. Users will be sent to this URL when changing their passwords at `myaccount.google.com`. This takes precedence over the change password URL configured at customer-level. Must use `HTTPS`.", "type": "string" } } }, "SamlSpConfig": { "id": "SamlSpConfig", "description": "SAML SP (service provider) configuration.", "type": "object", "properties": { "entityId": { "description": "Output only. The SAML **Entity ID** for this service provider.", "readOnly": true, "type": "string" }, "assertionConsumerServiceUri": { "description": "Output only. The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login. Assumed to accept response messages via the `HTTP-POST` binding.", "readOnly": true, "type": "string" } } }, "ListInboundSamlSsoProfilesResponse": { "id": "ListInboundSamlSsoProfilesResponse", "description": "Response of the InboundSamlSsoProfilesService.ListInboundSamlSsoProfiles method.", "type": "object", "properties": { "inboundSamlSsoProfiles": { "description": "List of InboundSamlSsoProfiles.", "type": "array", "items": { "$ref": "InboundSamlSsoProfile" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "IdpCredential": { "id": "IdpCredential", "description": "Credential for verifying signatures produced by the Identity Provider.", "type": "object", "properties": { "rsaKeyInfo": { "description": "Output only. Information of a RSA public key.", "readOnly": true, "$ref": "RsaPublicKeyInfo" }, "dsaKeyInfo": { "description": "Output only. Information of a DSA public key.", "readOnly": true, "$ref": "DsaPublicKeyInfo" }, "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the credential.", "readOnly": true, "type": "string" }, "updateTime": { "description": "Output only. Time when the `IdpCredential` was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" } } }, "RsaPublicKeyInfo": { "id": "RsaPublicKeyInfo", "description": "Information of a RSA public key.", "type": "object", "properties": { "keySize": { "description": "Key size in bits (size of the modulus).", "type": "integer", "format": "int32" } } }, "DsaPublicKeyInfo": { "id": "DsaPublicKeyInfo", "description": "Information of a DSA public key.", "type": "object", "properties": { "keySize": { "description": "Key size in bits (size of parameter P).", "type": "integer", "format": "int32" } } }, "ListIdpCredentialsResponse": { "id": "ListIdpCredentialsResponse", "description": "Response of the InboundSamlSsoProfilesService.ListIdpCredentials method.", "type": "object", "properties": { "idpCredentials": { "description": "The IdpCredentials from the specified InboundSamlSsoProfile.", "type": "array", "items": { "$ref": "IdpCredential" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "AddIdpCredentialRequest": { "id": "AddIdpCredentialRequest", "description": "The request for creating an IdpCredential with its associated payload. An InboundSamlSsoProfile can own up to 2 credentials.", "type": "object", "properties": { "pemData": { "description": "PEM encoded x509 certificate containing the public key for verifying IdP signatures.", "type": "string" } } }, "InboundSsoAssignment": { "id": "InboundSsoAssignment", "description": "Targets with \"set\" SSO assignments and their respective assignments.", "type": "object", "properties": { "targetGroup": { "description": "Immutable. Must be of the form `groups/{group}`.", "type": "string" }, "targetOrgUnit": { "description": "Immutable. Must be of the form `orgUnits/{org_unit}`.", "type": "string" }, "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment.", "readOnly": true, "type": "string" }, "customer": { "description": "Immutable. The customer. For example: `customers/C0123abc`.", "type": "string" }, "rank": { "description": "Must be zero (which is the default value so it can be omitted) for assignments with `target_org_unit` set and must be greater-than-or-equal-to one for assignments with `target_group` set.", "type": "integer", "format": "int32" }, "ssoMode": { "description": "Inbound SSO behavior.", "type": "string", "enumDescriptions": [ "Not allowed.", "Disable SSO for the targeted users.", "Use an external SAML Identity Provider for SSO for the targeted users.", "Use the domain-wide SAML Identity Provider for the targeted users if one is configured; otherwise, this is equivalent to `SSO_OFF`. Note that this will also be equivalent to `SSO_OFF` if/when support for domain-wide SAML is removed. Google may disallow this mode at that point and existing assignments with this mode may be automatically changed to `SSO_OFF`." ], "enum": [ "SSO_MODE_UNSPECIFIED", "SSO_OFF", "SAML_SSO", "DOMAIN_WIDE_SAML_IF_ENABLED" ] }, "samlSsoInfo": { "description": "SAML SSO details. Must be set if and only if `sso_mode` is set to `SAML_SSO`.", "$ref": "SamlSsoInfo" }, "signInBehavior": { "description": "Assertions about users assigned to an IdP will always be accepted from that IdP. This controls whether/when Google should redirect a user to the IdP. Unset (defaults) is the recommended configuration.", "$ref": "SignInBehavior" } } }, "SamlSsoInfo": { "id": "SamlSsoInfo", "description": "Details that are applicable when `sso_mode` == `SAML_SSO`.", "type": "object", "properties": { "inboundSamlSsoProfile": { "description": "Required. Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. ", "type": "string" } } }, "SignInBehavior": { "id": "SignInBehavior", "description": "Controls sign-in behavior.", "type": "object", "properties": { "redirectCondition": { "description": "When to redirect sign-ins to the IdP.", "type": "string", "enumDescriptions": [ "Default and means \"always\"", "Sign-in flows where the user is prompted for their identity will not redirect to the IdP (so the user will most likely be prompted by Google for a password), but special flows like IdP-initiated SAML and sign-in following automatic redirection to the IdP by domain-specific service URLs will accept the IdP's assertion of the user's identity." ], "enum": [ "REDIRECT_CONDITION_UNSPECIFIED", "NEVER" ] } } }, "ListInboundSsoAssignmentsResponse": { "id": "ListInboundSsoAssignmentsResponse", "description": "Response of the InboundSsoAssignmentsService.ListInboundSsoAssignments method.", "type": "object", "properties": { "inboundSsoAssignments": { "description": "The assignments.", "type": "array", "items": { "$ref": "InboundSsoAssignment" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "UserInvitation": { "id": "UserInvitation", "description": "The `UserInvitation` resource represents an email that can be sent to an unmanaged user account inviting them to join the customer's Google Workspace or Cloud Identity account. An unmanaged account shares an email address domain with the Google Workspace or Cloud Identity account but is not managed by it yet. If the user accepts the `UserInvitation`, the user account will become managed.", "type": "object", "properties": { "name": { "description": "Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`.", "type": "string" }, "state": { "description": "State of the `UserInvitation`.", "type": "string", "enumDescriptions": [ "The default value. This value is used if the state is omitted.", "The `UserInvitation` has been created and is ready for sending as an email.", "The user has been invited by email.", "The user has accepted the invitation and is part of the organization.", "The user declined the invitation." ], "enum": [ "STATE_UNSPECIFIED", "NOT_YET_SENT", "INVITED", "ACCEPTED", "DECLINED" ] }, "mailsSentCount": { "description": "Number of invitation emails sent to the user.", "type": "string", "format": "int64" }, "updateTime": { "description": "Time when the `UserInvitation` was last updated.", "type": "string", "format": "google-datetime" } } }, "ListUserInvitationsResponse": { "id": "ListUserInvitationsResponse", "description": "Response message for UserInvitation listing request.", "type": "object", "properties": { "userInvitations": { "description": "The list of UserInvitation resources.", "type": "array", "items": { "$ref": "UserInvitation" } }, "nextPageToken": { "description": "The token for the next page. If not empty, indicates that there may be more `UserInvitation` resources that match the listing request; this value can be used in a subsequent ListUserInvitationsRequest to get continued results with the current list call.", "type": "string" } } }, "SendUserInvitationRequest": { "id": "SendUserInvitationRequest", "description": "A request to send email for inviting target user corresponding to the UserInvitation.", "type": "object", "properties": {} }, "CancelUserInvitationRequest": { "id": "CancelUserInvitationRequest", "description": "Request to cancel sent invitation for target email in UserInvitation.", "type": "object", "properties": {} }, "IsInvitableUserResponse": { "id": "IsInvitableUserResponse", "description": "Response for IsInvitableUser RPC.", "type": "object", "properties": { "isInvitableUser": { "description": "Returns true if the email address is invitable.", "type": "boolean" } } }, "GetMembershipGraphResponse": { "id": "GetMembershipGraphResponse", "description": "The response message for MembershipsService.GetMembershipGraph.", "type": "object", "properties": { "adjacencyList": { "description": "The membership graph's path information represented as an adjacency list.", "type": "array", "items": { "$ref": "MembershipAdjacencyList" } }, "groups": { "description": "The resources representing each group in the adjacency list. Each group in this list can be correlated to a 'group' of the MembershipAdjacencyList using the 'name' of the Group resource.", "type": "array", "items": { "$ref": "Group" } } } }, "MembershipAdjacencyList": { "id": "MembershipAdjacencyList", "description": "Membership graph's path information as an adjacency list.", "type": "object", "properties": { "group": { "description": "Resource name of the group that the members belong to.", "type": "string" }, "edges": { "description": "Each edge contains information about the member that belongs to this group. Note: Fields returned here will help identify the specific Membership resource (e.g name, preferred_member_key and role), but may not be a comprehensive list of all fields.", "type": "array", "items": { "$ref": "Membership" } } } }, "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse": { "id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse", "description": "Response message for approving the device to access user data.", "type": "object", "properties": { "deviceUser": { "description": "Resultant DeviceUser object for the action.", "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" } } }, "GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse": { "id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse", "description": "Response message for blocking the device from accessing user data.", "type": "object", "properties": { "deviceUser": { "description": "Resultant DeviceUser object for the action.", "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" } } }, "GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse": { "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse", "description": "Response message for wiping the user's account from the device.", "type": "object", "properties": { "deviceUser": { "description": "Resultant DeviceUser object for the action.", "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" } } }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse": { "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse", "description": "Response message for cancelling an unfinished user account wipe.", "type": "object", "properties": { "deviceUser": { "description": "Resultant DeviceUser object for the action.", "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" } } }, "GoogleAppsCloudidentityDevicesV1WipeDeviceResponse": { "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceResponse", "description": "Response message for wiping all data on the device.", "type": "object", "properties": { "device": { "description": "Resultant Device object for the action. Note that asset tags will not be returned in the device object.", "$ref": "GoogleAppsCloudidentityDevicesV1Device" } } }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse": { "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse", "description": "Response message for cancelling an unfinished device wipe.", "type": "object", "properties": { "device": { "description": "Resultant Device object for the action. Note that asset tags will not be returned in the device object.", "$ref": "GoogleAppsCloudidentityDevicesV1Device" } } }, "GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata": { "id": "GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata", "description": "Metadata for CreateDevice LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata": { "id": "GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata", "description": "Metadata for DeleteDevice LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata": { "id": "GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata", "description": "Metadata for UpdateDevice LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata": { "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata", "description": "Metadata for WipeDevice LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata": { "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata", "description": "Metadata for CancelWipeDevice LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata": { "id": "GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata", "description": "Metadata for DeleteDeviceUser LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata": { "id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata", "description": "Metadata for ApproveDeviceUser LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata": { "id": "GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata", "description": "Metadata for SignoutDeviceUser LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata": { "id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata", "description": "Metadata for BlockDeviceUser LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata": { "id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata", "description": "Metadata for WipeDeviceUser LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata": { "id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata", "description": "Metadata for CancelWipeDeviceUser LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata": { "id": "GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata", "description": "Metadata for ListEndpointApps LRO.", "type": "object", "properties": {} }, "GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata": { "id": "GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata", "description": "Metadata for UpdateClientState LRO.", "type": "object", "properties": {} }, "CreateGroupMetadata": { "id": "CreateGroupMetadata", "description": "Metadata for CreateGroup LRO.", "type": "object", "properties": {} }, "DeleteGroupMetadata": { "id": "DeleteGroupMetadata", "description": "Metadata for DeleteGroup LRO.", "type": "object", "properties": {} }, "UpdateGroupMetadata": { "id": "UpdateGroupMetadata", "description": "Metadata for UpdateGroup LRO.", "type": "object", "properties": {} }, "CreateMembershipMetadata": { "id": "CreateMembershipMetadata", "description": "Metadata for CreateMembership LRO.", "type": "object", "properties": {} }, "DeleteMembershipMetadata": { "id": "DeleteMembershipMetadata", "description": "Metadata for DeleteMembership LRO.", "type": "object", "properties": {} }, "UpdateMembershipMetadata": { "id": "UpdateMembershipMetadata", "description": "Metadata for UpdateMembership LRO.", "type": "object", "properties": {} }, "GetMembershipGraphMetadata": { "id": "GetMembershipGraphMetadata", "description": "Metadata of GetMembershipGraphResponse LRO. This is currently empty to permit future extensibility.", "type": "object", "properties": {} }, "AddIdpCredentialOperationMetadata": { "id": "AddIdpCredentialOperationMetadata", "description": "LRO response metadata for InboundSamlSsoProfilesService.AddIdpCredential.", "type": "object", "properties": {} }, "CreateInboundSamlSsoProfileOperationMetadata": { "id": "CreateInboundSamlSsoProfileOperationMetadata", "description": "LRO response metadata for InboundSamlSsoProfilesService.CreateInboundSamlSsoProfile.", "type": "object", "properties": {} }, "DeleteIdpCredentialOperationMetadata": { "id": "DeleteIdpCredentialOperationMetadata", "description": "LRO response metadata for InboundSamlSsoProfilesService.DeleteIdpCredential.", "type": "object", "properties": {} }, "DeleteInboundSamlSsoProfileOperationMetadata": { "id": "DeleteInboundSamlSsoProfileOperationMetadata", "description": "LRO response metadata for InboundSamlSsoProfilesService.DeleteInboundSamlSsoProfile.", "type": "object", "properties": {} }, "UpdateInboundSamlSsoProfileOperationMetadata": { "id": "UpdateInboundSamlSsoProfileOperationMetadata", "description": "LRO response metadata for InboundSamlSsoProfilesService.UpdateInboundSamlSsoProfile.", "type": "object", "properties": {} }, "CreateInboundSsoAssignmentOperationMetadata": { "id": "CreateInboundSsoAssignmentOperationMetadata", "description": "LRO response metadata for InboundSsoAssignmentsService.CreateInboundSsoAssignment.", "type": "object", "properties": {} }, "DeleteInboundSsoAssignmentOperationMetadata": { "id": "DeleteInboundSsoAssignmentOperationMetadata", "description": "LRO response metadata for InboundSsoAssignmentsService.DeleteInboundSsoAssignment.", "type": "object", "properties": {} }, "UpdateInboundSsoAssignmentOperationMetadata": { "id": "UpdateInboundSsoAssignmentOperationMetadata", "description": "LRO response metadata for InboundSsoAssignmentsService.UpdateInboundSsoAssignment.", "type": "object", "properties": {} } }, "resources": { "devices": { "methods": { "create": { "id": "cloudidentity.devices.create", "path": "v1/devices", "flatPath": "v1/devices", "httpMethod": "POST", "parameters": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" } }, "parameterOrder": [], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1Device" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium" }, "get": { "id": "cloudidentity.devices.get", "path": "v1/{+name}", "flatPath": "v1/devices/{devicesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in the format: `devices/{device}`, where device is the unique ID assigned to the Device.", "pattern": "^devices/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleAppsCloudidentityDevicesV1Device" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ], "description": "Retrieves the specified device." }, "list": { "id": "cloudidentity.devices.list", "path": "v1/devices", "flatPath": "v1/devices", "httpMethod": "GET", "parameters": { "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "filter": { "description": "Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to [Mobile device search fields](https://developers.google.com/admin-sdk/directory/v1/search-operators). Multiple search fields are separated by the space character.", "location": "query", "type": "string" }, "pageSize": { "description": "Optional. The maximum number of Devices to return. If unspecified, at most 20 Devices will be returned. The maximum value is 100; values above 100 will be coerced to 100.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "Optional. A page token, received from a previous `ListDevices` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDevices` must match the call that provided the page token.", "location": "query", "type": "string" }, "orderBy": { "description": "Optional. Order specification for devices in the response. Only one of the following field names may be used to specify the order: `create_time`, `last_sync_time`, `model`, `os_version`, `device_type` and `serial_number`. `desc` may be specified optionally at the end to specify results to be sorted in descending order. Default order is ascending.", "location": "query", "type": "string" }, "view": { "description": "Optional. The view to use for the List request.", "location": "query", "type": "string", "enumDescriptions": [ "Default value. The value is unused.", "This view contains all devices imported by the company admin. Each device in the response contains all information specified by the company admin when importing the device (i.e. asset tags). This includes devices that may be unaassigned or assigned to users.", "This view contains all devices with at least one user registered on the device. Each device in the response contains all device information, except for asset tags." ], "enum": [ "VIEW_UNSPECIFIED", "COMPANY_INVENTORY", "USER_ASSIGNED_DEVICES" ] } }, "parameterOrder": [], "response": { "$ref": "GoogleAppsCloudidentityDevicesV1ListDevicesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ], "description": "Lists/Searches devices." }, "delete": { "id": "cloudidentity.devices.delete", "path": "v1/{+name}", "flatPath": "v1/devices/{devicesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device.", "pattern": "^devices/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Deletes the specified device." }, "wipe": { "id": "cloudidentity.devices.wipe", "path": "v1/{+name}:wipe", "flatPath": "v1/devices/{devicesId}:wipe", "httpMethod": "POST", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "pattern": "^devices/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1WipeDeviceRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Wipes all data on the specified device." }, "cancelWipe": { "id": "cloudidentity.devices.cancelWipe", "path": "v1/{+name}:cancelWipe", "flatPath": "v1/devices/{devicesId}:cancelWipe", "httpMethod": "POST", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device.", "pattern": "^devices/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. This operation is possible when the device is in a \"pending wipe\" state. The device enters the \"pending wipe\" state when a wipe device command is issued, but has not yet been sent to the device. The cancel wipe will fail if the wipe command has already been issued to the device." } }, "resources": { "deviceUsers": { "methods": { "get": { "id": "cloudidentity.devices.deviceUsers.get", "path": "v1/{+name}", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ], "description": "Retrieves the specified DeviceUser" }, "list": { "id": "cloudidentity.devices.deviceUsers.list", "path": "v1/{+parent}/deviceUsers", "flatPath": "v1/devices/{devicesId}/deviceUsers", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. To list all DeviceUsers, set this to \"devices/-\". To list all DeviceUsers owned by a device, set this to the resource name of the device. Format: devices/{device}", "pattern": "^devices/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "filter": { "description": "Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to [Mobile device search fields](https://developers.google.com/admin-sdk/directory/v1/search-operators). Multiple search fields are separated by the space character.", "location": "query", "type": "string" }, "pageSize": { "description": "Optional. The maximum number of DeviceUsers to return. If unspecified, at most 5 DeviceUsers will be returned. The maximum value is 20; values above 20 will be coerced to 20.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "Optional. A page token, received from a previous `ListDeviceUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBooks` must match the call that provided the page token.", "location": "query", "type": "string" }, "orderBy": { "description": "Optional. Order specification for devices in the response.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ], "description": "Lists/Searches DeviceUsers." }, "delete": { "id": "cloudidentity.devices.deviceUsers.delete", "path": "v1/{+name}", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Deletes the specified DeviceUser. This also revokes the user's access to device data." }, "lookup": { "id": "cloudidentity.devices.deviceUsers.lookup", "path": "v1/{+parent}:lookup", "flatPath": "v1/devices/{devicesId}/deviceUsers:lookup", "httpMethod": "GET", "parameters": { "parent": { "description": "Must be set to \"devices/-/deviceUsers\" to search across all DeviceUser belonging to the user.", "pattern": "^devices/[^/]+/deviceUsers$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of DeviceUsers to return. If unspecified, at most 20 DeviceUsers will be returned. The maximum value is 20; values above 20 will be coerced to 20.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `LookupDeviceUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `LookupDeviceUsers` must match the call that provided the page token.", "location": "query", "type": "string" }, "androidId": { "description": "Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID).", "location": "query", "type": "string" }, "rawResourceId": { "description": "Raw Resource Id used by Google Endpoint Verification. If the user is enrolled into Google Endpoint Verification, this id will be saved as the 'device_resource_id' field in the following platform dependent files. * macOS: ~/.secureConnect/context_aware_config.json * Windows: %USERPROFILE%\\AppData\\Local\\Google\\Endpoint Verification\\accounts.json * Linux: ~/.secureConnect/context_aware_config.json", "location": "query", "type": "string" }, "userId": { "description": "The user whose DeviceUser's resource name will be fetched. Must be set to 'me' to fetch the DeviceUser's resource name for the calling user.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices.lookup" ], "description": "Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. This method must be called with end-user credentials with the scope: https://www.googleapis.com/auth/cloud-identity.devices.lookup If multiple properties are provided, only DeviceUsers having all of these properties are considered as matches - i.e. the query behaves like an AND. Different platforms require different amounts of information from the caller to ensure that the DeviceUser is uniquely identified. - iOS: No properties need to be passed, the caller's credentials are sufficient to identify the corresponding DeviceUser. - Android: Specifying the 'android_id' field is required. - Desktop: Specifying the 'raw_resource_id' field is required." }, "approve": { "id": "cloudidentity.devices.deviceUsers.approve", "path": "v1/{+name}:approve", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:approve", "httpMethod": "POST", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Approves device to access user data." }, "block": { "id": "cloudidentity.devices.deviceUsers.block", "path": "v1/{+name}:block", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:block", "httpMethod": "POST", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Blocks device from accessing user data" }, "wipe": { "id": "cloudidentity.devices.deviceUsers.wipe", "path": "v1/{+name}:wipe", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:wipe", "httpMethod": "POST", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Wipes the user's account on a device. Other data on the device that is not associated with the user's work account is not affected. For example, if a Gmail app is installed on a device that is used for personal and work purposes, and the user is logged in to the Gmail app with their personal account as well as their work account, wiping the \"deviceUser\" by their work administrator will not affect their personal account within Gmail or other apps such as Photos." }, "cancelWipe": { "id": "cloudidentity.devices.deviceUsers.cancelWipe", "path": "v1/{+name}:cancelWipe", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:cancelWipe", "httpMethod": "POST", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Cancels an unfinished user account wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped." } }, "resources": { "clientStates": { "methods": { "get": { "id": "cloudidentity.devices.deviceUsers.clientStates.get", "path": "v1/{+name}", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}/clientStates/{clientStatesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientStates/{partner}`, where `device` is the unique ID assigned to the Device, `device_user` is the unique ID assigned to the User and `partner` identifies the partner storing the data. To get the client state for devices belonging to your own organization, the `partnerId` is in the format: `customerId-*anystring*`. Where the `customerId` is your organization's customer ID and `anystring` is any suffix. This suffix is used in setting up Custom Access Levels in Context-Aware Access. You may use `my_customer` instead of the customer ID for devices managed by your own organization. You may specify `-` in place of the `{device}`, so the ClientState resource name can be: `devices/-/deviceUsers/{device_user_resource}/clientStates/{partner}`.", "pattern": "^devices/[^/]+/deviceUsers/[^/]+/clientStates/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleAppsCloudidentityDevicesV1ClientState" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ], "description": "Gets the client state for the device user" }, "list": { "id": "cloudidentity.devices.deviceUsers.clientStates.list", "path": "v1/{+parent}/clientStates", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}/clientStates", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. To list all ClientStates, set this to \"devices/-/deviceUsers/-\". To list all ClientStates owned by a DeviceUser, set this to the resource name of the DeviceUser. Format: devices/{device}/deviceUsers/{deviceUser}", "pattern": "^devices/[^/]+/deviceUsers/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "filter": { "description": "Optional. Additional restrictions when fetching list of client states.", "location": "query", "type": "string" }, "pageToken": { "description": "Optional. A page token, received from a previous `ListClientStates` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClientStates` must match the call that provided the page token.", "location": "query", "type": "string" }, "orderBy": { "description": "Optional. Order specification for client states in the response.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "GoogleAppsCloudidentityDevicesV1ListClientStatesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ], "description": "Lists the client states for the given search query." }, "patch": { "id": "cloudidentity.devices.deviceUsers.clientStates.patch", "path": "v1/{+name}", "flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}/clientStates/{clientStatesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", "pattern": "^devices/[^/]+/deviceUsers/[^/]+/clientStates/[^/]+$", "location": "path", "required": true, "type": "string" }, "customer": { "description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", "location": "query", "type": "string" }, "updateMask": { "description": "Optional. Comma-separated list of fully qualified names of fields to be updated. If not specified, all updatable fields in ClientState are updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleAppsCloudidentityDevicesV1ClientState" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.devices" ], "description": "Updates the client state for the device user **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium" } } } } } } }, "groups": { "methods": { "create": { "id": "cloudidentity.groups.create", "path": "v1/groups", "flatPath": "v1/groups", "httpMethod": "POST", "parameters": { "initialGroupConfig": { "description": "Optional. The initial configuration option for the `Group`.", "location": "query", "type": "string", "enumDescriptions": [ "Default. Should not be used.", "The end user making the request will be added as the initial owner of the `Group`.", "An empty group is created without any initial owners. This can only be used by admins of the domain." ], "enum": [ "INITIAL_GROUP_CONFIG_UNSPECIFIED", "WITH_INITIAL_OWNER", "EMPTY" ] } }, "parameterOrder": [], "request": { "$ref": "Group" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a Group." }, "get": { "id": "cloudidentity.groups.get", "path": "v1/{+name}", "flatPath": "v1/groups/{groupsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Group" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves a `Group`." }, "getSecuritySettings": { "id": "cloudidentity.groups.getSecuritySettings", "path": "v1/{+name}", "flatPath": "v1/groups/{groupsId}/securitySettings", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The security settings to retrieve. Format: `groups/{group_id}/securitySettings`", "pattern": "^groups/[^/]+/securitySettings$", "location": "path", "required": true, "type": "string" }, "readMask": { "description": "Field-level read mask of which fields to return. \"*\" returns all fields. If not specified, all fields will be returned. May only contain the following field: `member_restriction`.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "response": { "$ref": "SecuritySettings" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Get Security Settings" }, "patch": { "id": "cloudidentity.groups.patch", "path": "v1/{+name}", "flatPath": "v1/groups/{groupsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group}`.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The names of fields to update. May only contain the following field names: `display_name`, `description`, `labels`.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Group" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a `Group`." }, "updateSecuritySettings": { "id": "cloudidentity.groups.updateSecuritySettings", "path": "v1/{+name}", "flatPath": "v1/groups/{groupsId}/securitySettings", "httpMethod": "PATCH", "parameters": { "name": { "description": "Output only. The resource name of the security settings. Shall be of the form `groups/{group_id}/securitySettings`.", "pattern": "^groups/[^/]+/securitySettings$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The fully-qualified names of fields to update. May only contain the following field: `member_restriction.query`.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SecuritySettings" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Update Security Settings" }, "delete": { "id": "cloudidentity.groups.delete", "path": "v1/{+name}", "flatPath": "v1/groups/{groupsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes a `Group`." }, "lookup": { "id": "cloudidentity.groups.lookup", "path": "v1/groups:lookup", "flatPath": "v1/groups:lookup", "httpMethod": "GET", "parameters": { "groupKey.id": { "description": "The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://support.google.com/a/answer/9193374). For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`.", "location": "query", "type": "string" }, "groupKey.namespace": { "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", "location": "query", "type": "string" } }, "parameterOrder": [], "response": { "$ref": "LookupGroupNameResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`." }, "search": { "id": "cloudidentity.groups.search", "path": "v1/groups:search", "flatPath": "v1/groups:search", "httpMethod": "GET", "parameters": { "query": { "description": "Required. The search query. * Must be specified in [Common Expression Language](https://opensource.google/projects/cel). * Must contain equality operators on the parent, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793) * Can contain optional inclusion operators on `labels` such as `'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). * Can contain an optional equality operator on `domain_name`. e.g. `domain_name == 'examplepetstore.com'` * Can contain optional `startsWith/contains/equality` operators on `group_key`, e.g. `group_key.startsWith('dev')`, `group_key.contains('dev'), group_key == 'dev@examplepetstore.com'` * Can contain optional `startsWith/contains/equality` operators on `display_name`, such as `display_name.startsWith('dev')` , `display_name.contains('dev')`, `display_name == 'dev'`", "location": "query", "type": "string" }, "view": { "description": "The level of detail to be returned. If unspecified, defaults to `View.BASIC`.", "location": "query", "type": "string", "enumDescriptions": [ "Default. Should not be used.", "Only basic resource information is returned.", "All resource information is returned." ], "enum": [ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] }, "pageSize": { "description": "The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `GroupView.BASIC` and 50 for `GroupView.FULL`. Must not be greater than 1000 for `GroupView.BASIC` or 500 for `GroupView.FULL`.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The `next_page_token` value returned from a previous search request, if any.", "location": "query", "type": "string" } }, "parameterOrder": [], "response": { "$ref": "SearchGroupsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Searches for `Group` resources matching a specified query." }, "list": { "id": "cloudidentity.groups.list", "path": "v1/groups", "flatPath": "v1/groups", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)", "location": "query", "type": "string" }, "view": { "description": "The level of detail to be returned. If unspecified, defaults to `View.BASIC`.", "location": "query", "type": "string", "enumDescriptions": [ "Default. Should not be used.", "Only basic resource information is returned.", "All resource information is returned." ], "enum": [ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] }, "pageSize": { "description": "The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `View.BASIC` and to 50 for `View.FULL`. Must not be greater than 1000 for `View.BASIC` or 500 for `View.FULL`.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The `next_page_token` value returned from a previous list request, if any.", "location": "query", "type": "string" } }, "parameterOrder": [], "response": { "$ref": "ListGroupsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the `Group` resources under a customer or namespace." } }, "resources": { "memberships": { "methods": { "create": { "id": "cloudidentity.groups.memberships.create", "path": "v1/{+parent}/memberships", "flatPath": "v1/groups/{groupsId}/memberships", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The parent `Group` resource under which to create the `Membership`. Must be of the form `groups/{group}`.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Membership" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a `Membership`." }, "get": { "id": "cloudidentity.groups.memberships.get", "path": "v1/{+name}", "flatPath": "v1/groups/{groupsId}/memberships/{membershipsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to retrieve. Must be of the form `groups/{group}/memberships/{membership}`.", "pattern": "^groups/[^/]+/memberships/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Membership" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves a `Membership`." }, "delete": { "id": "cloudidentity.groups.memberships.delete", "path": "v1/{+name}", "flatPath": "v1/groups/{groupsId}/memberships/{membershipsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to delete. Must be of the form `groups/{group}/memberships/{membership}`", "pattern": "^groups/[^/]+/memberships/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes a `Membership`." }, "lookup": { "id": "cloudidentity.groups.memberships.lookup", "path": "v1/{+parent}/memberships:lookup", "flatPath": "v1/groups/{groupsId}/memberships:lookup", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "memberKey.id": { "description": "The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://support.google.com/a/answer/9193374). For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`.", "location": "query", "type": "string" }, "memberKey.namespace": { "description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "LookupMembershipNameResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`." }, "list": { "id": "cloudidentity.groups.memberships.list", "path": "v1/{+parent}/memberships", "flatPath": "v1/groups/{groupsId}/memberships", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "view": { "description": "The level of detail to be returned. If unspecified, defaults to `View.BASIC`.", "location": "query", "type": "string", "enumDescriptions": [ "Default. Should not be used.", "Only basic resource information is returned.", "All resource information is returned." ], "enum": [ "VIEW_UNSPECIFIED", "BASIC", "FULL" ] }, "pageSize": { "description": "The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `GroupView.BASIC` and to 50 for `GroupView.FULL`. Must not be greater than 1000 for `GroupView.BASIC` or 500 for `GroupView.FULL`.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The `next_page_token` value returned from a previous search request, if any.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListMembershipsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the `Membership`s within a `Group`." }, "modifyMembershipRoles": { "id": "cloudidentity.groups.memberships.modifyMembershipRoles", "path": "v1/{+name}:modifyMembershipRoles", "flatPath": "v1/groups/{groupsId}/memberships/{membershipsId}:modifyMembershipRoles", "httpMethod": "POST", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` whose roles are to be modified. Must be of the form `groups/{group}/memberships/{membership}`.", "pattern": "^groups/[^/]+/memberships/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "ModifyMembershipRolesRequest" }, "response": { "$ref": "ModifyMembershipRolesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Modifies the `MembershipRole`s of a `Membership`." }, "searchTransitiveMemberships": { "id": "cloudidentity.groups.memberships.searchTransitiveMemberships", "path": "v1/{+parent}/memberships:searchTransitiveMemberships", "flatPath": "v1/groups/{groupsId}/memberships:searchTransitiveMemberships", "httpMethod": "GET", "parameters": { "parent": { "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to the Group.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The default page size is 200 (max 1000).", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The next_page_token value returned from a previous list request, if any.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "SearchTransitiveMembershipsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Search transitive memberships of a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the group is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A transitive membership is any direct or indirect membership of a group. Actor must have view permissions to all transitive memberships." }, "searchTransitiveGroups": { "id": "cloudidentity.groups.memberships.searchTransitiveGroups", "path": "v1/{+parent}/memberships:searchTransitiveGroups", "flatPath": "v1/groups/{groupsId}/memberships:searchTransitiveGroups", "httpMethod": "GET", "parameters": { "parent": { "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is always '-' as this API will search across all groups for a given member.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "query": { "description": "Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' && in labels` Query may optionally contain equality operators on the parent of the group restricting the search within a particular customer, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). This filtering is only supported for Admins with groups read permissons on the input customer. Example query: `member_key_id == 'member_key_id_value' && in labels && parent == 'customers/C046psxkn'`", "location": "query", "type": "string" }, "pageSize": { "description": "The default page size is 200 (max 1000).", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The next_page_token value returned from a previous list request, if any.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "SearchTransitiveGroupsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Search transitive groups of a member. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A transitive group is any group that has a direct or indirect membership to the member. Actor must have view permissions all transitive groups." }, "checkTransitiveMembership": { "id": "cloudidentity.groups.memberships.checkTransitiveMembership", "path": "v1/{+parent}/memberships:checkTransitiveMembership", "flatPath": "v1/groups/{groupsId}/memberships:checkTransitiveMembership", "httpMethod": "GET", "parameters": { "parent": { "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to check the transitive membership in. Format: `groups/{group}`, where `group` is the unique id assigned to the Group to which the Membership belongs to.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "query": { "description": "Required. A CEL expression that MUST include member specification. This is a `required` field. Certain groups are uniquely identified by both a 'member_key_id' and a 'member_key_namespace', which requires an additional query input: 'member_key_namespace'. Example query: `member_key_id == 'member_key_id_value'`", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "CheckTransitiveMembershipResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Check a potential member for membership in a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A member has membership to a group as long as there is a single viewable transitive membership between the group and the member. The actor must have view permissions to at least one transitive membership between the member and group." }, "getMembershipGraph": { "id": "cloudidentity.groups.memberships.getMembershipGraph", "path": "v1/{+parent}/memberships:getMembershipGraph", "flatPath": "v1/groups/{groupsId}/memberships:getMembershipGraph", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to the Group to which the Membership belongs to. group can be a wildcard collection id \"-\". When a group is specified, the membership graph will be constrained to paths between the member (defined in the query) and the parent. If a wildcard collection is provided, all membership paths connected to the member will be returned.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "query": { "description": "Required. A CEL expression that MUST include member specification AND label(s). Certain groups are uniquely identified by both a 'member_key_id' and a 'member_key_namespace', which requires an additional query input: 'member_key_namespace'. Example query: `member_key_id == 'member_key_id_value' && in labels`", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Get a membership graph of just a member or both a member and a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. Given a member, the response will contain all membership paths from the member. Given both a group and a member, the response will contain all membership paths between the group and the member." }, "searchDirectGroups": { "id": "cloudidentity.groups.memberships.searchDirectGroups", "path": "v1/{+parent}/memberships:searchDirectGroups", "flatPath": "v1/groups/{groupsId}/memberships:searchDirectGroups", "httpMethod": "GET", "parameters": { "parent": { "description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: groups/{group_id}, where group_id is always '-' as this API will search across all groups for a given member.", "pattern": "^groups/[^/]+$", "location": "path", "required": true, "type": "string" }, "query": { "description": "Required. A CEL expression that MUST include member specification AND label(s). Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' && 'label_value' in labels`", "location": "query", "type": "string" }, "pageSize": { "description": "The default page size is 200 (max 1000).", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The next_page_token value returned from a previous list request, if any", "location": "query", "type": "string" }, "orderBy": { "description": "The ordering of membership relation for the display name or email in the response. The syntax for this field can be found at https://cloud.google.com/apis/design/design_patterns#sorting_order. Example: Sort by the ascending display name: order_by=\"group_name\" or order_by=\"group_name asc\". Sort by the descending display name: order_by=\"group_name desc\". Sort by the ascending group key: order_by=\"group_key\" or order_by=\"group_key asc\". Sort by the descending group key: order_by=\"group_key desc\".", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "SearchDirectGroupsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" ], "description": "Searches direct groups of a member." } } } } }, "inboundSamlSsoProfiles": { "methods": { "create": { "id": "cloudidentity.inboundSamlSsoProfiles.create", "path": "v1/inboundSamlSsoProfiles", "flatPath": "v1/inboundSamlSsoProfiles", "httpMethod": "POST", "parameters": {}, "parameterOrder": [], "request": { "$ref": "InboundSamlSsoProfile" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates an InboundSamlSsoProfile for a customer." }, "patch": { "id": "cloudidentity.inboundSamlSsoProfiles.patch", "path": "v1/{+name}", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile.", "pattern": "^inboundSamlSsoProfiles/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The list of fields to be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "InboundSamlSsoProfile" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates an InboundSamlSsoProfile." }, "delete": { "id": "cloudidentity.inboundSamlSsoProfiles.delete", "path": "v1/{+name}", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to delete. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", "pattern": "^inboundSamlSsoProfiles/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an InboundSamlSsoProfile." }, "get": { "id": "cloudidentity.inboundSamlSsoProfiles.get", "path": "v1/{+name}", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to get. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", "pattern": "^inboundSamlSsoProfiles/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "InboundSamlSsoProfile" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an InboundSamlSsoProfile." }, "list": { "id": "cloudidentity.inboundSamlSsoProfiles.list", "path": "v1/inboundSamlSsoProfiles", "flatPath": "v1/inboundSamlSsoProfiles", "httpMethod": "GET", "parameters": { "filter": { "description": "A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only supported filter is filtering by customer. For example: `customer==\"customers/C0123abc\"`. Omitting the filter or specifying a filter of `customer==\"customers/my_customer\"` will return the profiles for the customer that the caller (authenticated user) belongs to.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of InboundSamlSsoProfiles to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change over time. The maximum allowed value is 100. Requests with page_size greater than that will be silently interpreted as having this maximum value.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListInboundSamlSsoProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundSamlSsoProfiles` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [], "response": { "$ref": "ListInboundSamlSsoProfilesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists InboundSamlSsoProfiles for a customer." } }, "resources": { "idpCredentials": { "methods": { "delete": { "id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.delete", "path": "v1/{+name}", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials/{idpCredentialsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to delete. Format: `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`", "pattern": "^inboundSamlSsoProfiles/[^/]+/idpCredentials/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an IdpCredential." }, "get": { "id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.get", "path": "v1/{+name}", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials/{idpCredentialsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to retrieve. Format: `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`", "pattern": "^inboundSamlSsoProfiles/[^/]+/idpCredentials/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "IdpCredential" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an IdpCredential." }, "list": { "id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.list", "path": "v1/{+parent}/idpCredentials", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns this collection of `IdpCredential`s. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", "pattern": "^inboundSamlSsoProfiles/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of `IdpCredential`s to return. The service may return fewer than this value.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListIdpCredentials` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdpCredentials` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListIdpCredentialsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of IdpCredentials in an InboundSamlSsoProfile." }, "add": { "id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.add", "path": "v1/{+parent}/idpCredentials:add", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials:add", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", "pattern": "^inboundSamlSsoProfiles/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "AddIdpCredentialRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Adds an IdpCredential. Up to 2 credentials are allowed." } } } } }, "inboundSsoAssignments": { "methods": { "get": { "id": "cloudidentity.inboundSsoAssignments.get", "path": "v1/{+name}", "flatPath": "v1/inboundSsoAssignments/{inboundSsoAssignmentsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to fetch. Format: `inboundSsoAssignments/{assignment}`", "pattern": "^inboundSsoAssignments/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "InboundSsoAssignment" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an InboundSsoAssignment." }, "create": { "id": "cloudidentity.inboundSsoAssignments.create", "path": "v1/inboundSsoAssignments", "flatPath": "v1/inboundSsoAssignments", "httpMethod": "POST", "parameters": {}, "parameterOrder": [], "request": { "$ref": "InboundSsoAssignment" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`." }, "patch": { "id": "cloudidentity.inboundSsoAssignments.patch", "path": "v1/{+name}", "flatPath": "v1/inboundSsoAssignments/{inboundSsoAssignmentsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment.", "pattern": "^inboundSsoAssignments/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The list of fields to be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "InboundSsoAssignment" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates an InboundSsoAssignment. The body of this request is the `inbound_sso_assignment` field and the `update_mask` is relative to that. For example: a PATCH to `/v1/inboundSsoAssignments/0abcdefg1234567&update_mask=rank` with a body of `{ \"rank\": 1 }` moves that (presumably group-targeted) SSO assignment to the highest priority and shifts any other group-targeted assignments down in priority." }, "delete": { "id": "cloudidentity.inboundSsoAssignments.delete", "path": "v1/{+name}", "flatPath": "v1/inboundSsoAssignments/{inboundSsoAssignmentsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to delete. Format: `inboundSsoAssignments/{assignment}`", "pattern": "^inboundSsoAssignments/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`." }, "list": { "id": "cloudidentity.inboundSsoAssignments.list", "path": "v1/inboundSsoAssignments", "flatPath": "v1/inboundSsoAssignments", "httpMethod": "GET", "parameters": { "filter": { "description": "A CEL expression to filter the results. The only supported filter is filtering by customer. For example: `customer==customers/C0123abc`. Omitting the filter or specifying a filter of `customer==customers/my_customer` will return the assignments for the customer that the caller (authenticated user) belongs to.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of assignments to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change over time. The maximum allowed value is 100, though requests with page_size greater than that will be silently interpreted as having this maximum value. This may increase in the futue.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListInboundSsoAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundSsoAssignments` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [], "response": { "$ref": "ListInboundSsoAssignmentsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the InboundSsoAssignments for a `Customer`." } } }, "customers": { "resources": { "userinvitations": { "methods": { "get": { "id": "cloudidentity.customers.userinvitations.get", "path": "v1/{+name}", "flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", "pattern": "^customers/[^/]+/userinvitations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "UserInvitation" }, "description": "Retrieves a UserInvitation resource. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains." }, "list": { "id": "cloudidentity.customers.userinvitations.list", "path": "v1/{+parent}/userinvitations", "flatPath": "v1/customers/{customersId}/userinvitations", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The customer ID of the Google Workspace or Cloud Identity account the UserInvitation resources are associated with.", "pattern": "^customers/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "Optional. The maximum number of UserInvitation resources to return. If unspecified, at most 100 resources will be returned. The maximum value is 200; values above 200 will be set to 200.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "Optional. A page token, received from a previous `ListUserInvitations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBooks` must match the call that provided the page token.", "location": "query", "type": "string" }, "filter": { "description": "Optional. A query string for filtering `UserInvitation` results by their current state, in the format: `\"state=='invited'\"`.", "location": "query", "type": "string" }, "orderBy": { "description": "Optional. The sort order of the list results. You can sort the results in descending order based on either email or last update timestamp but not both, using `order_by=\"email desc\"`. Currently, sorting is supported for `update_time asc`, `update_time desc`, `email asc`, and `email desc`. If not specified, results will be returned based on `email asc` order.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListUserInvitationsResponse" }, "description": "Retrieves a list of UserInvitation resources. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains." }, "send": { "id": "cloudidentity.customers.userinvitations.send", "path": "v1/{+name}:send", "flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}:send", "httpMethod": "POST", "parameters": { "name": { "description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", "pattern": "^customers/[^/]+/userinvitations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SendUserInvitationRequest" }, "response": { "$ref": "Operation" }, "description": "Sends a UserInvitation to email. If the `UserInvitation` does not exist for this request and it is a valid request, the request creates a `UserInvitation`. **Note:** The `get` and `list` methods have a 48-hour delay where newly-created consumer accounts will not appear in the results. You can still send a `UserInvitation` to those accounts if you know the unmanaged email address and IsInvitableUser==True." }, "cancel": { "id": "cloudidentity.customers.userinvitations.cancel", "path": "v1/{+name}:cancel", "flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}:cancel", "httpMethod": "POST", "parameters": { "name": { "description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", "pattern": "^customers/[^/]+/userinvitations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "CancelUserInvitationRequest" }, "response": { "$ref": "Operation" }, "description": "Cancels a UserInvitation that was already sent." }, "isInvitableUser": { "id": "cloudidentity.customers.userinvitations.isInvitableUser", "path": "v1/{+name}:isInvitableUser", "flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}:isInvitableUser", "httpMethod": "GET", "parameters": { "name": { "description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", "pattern": "^customers/[^/]+/userinvitations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "IsInvitableUserResponse" }, "description": "Verifies whether a user account is eligible to receive a UserInvitation (is an unmanaged account). Eligibility is based on the following criteria: * the email address is a consumer account and it's the primary email address of the account, and * the domain of the email address matches an existing verified Google Workspace or Cloud Identity domain If both conditions are met, the user is eligible. **Note:** This method is not supported for Workspace Essentials customers." } } } } } }, "fullyEncodeReservedExpansion": true, "rootUrl": "https://cloudidentity.googleapis.com/", "discoveryVersion": "v1", "title": "Cloud Identity API", "parameters": { "access_token": { "type": "string", "description": "OAuth access token.", "location": "query" }, "alt": { "type": "string", "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" ], "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "location": "query" }, "callback": { "type": "string", "description": "JSONP", "location": "query" }, "fields": { "type": "string", "description": "Selector specifying which fields to include in a partial response.", "location": "query" }, "key": { "type": "string", "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", "location": "query" }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "prettyPrint": { "type": "boolean", "description": "Returns response with indentations and line breaks.", "default": "true", "location": "query" }, "quotaUser": { "type": "string", "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", "location": "query" }, "upload_protocol": { "type": "string", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query" }, "uploadType": { "type": "string", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "location": "query" }, "$.xgafv": { "type": "string", "description": "V1 error format.", "enum": [ "1", "2" ], "enumDescriptions": [ "v1 error format", "v2 error format" ], "location": "query" } }, "batchPath": "batch", "ownerName": "Google", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "ownerDomain": "google.com", "revision": "20240507", "mtlsRootUrl": "https://cloudidentity.mtls.googleapis.com/", "name": "cloudidentity", "version": "v1", "id": "cloudidentity:v1", "baseUrl": "https://cloudidentity.googleapis.com/", "servicePath": "", "kind": "discovery#restDescription", "description": "API for provisioning and managing identity resources.", "basePath": "", "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-identity.devices": { "description": "Private Service: https://www.googleapis.com/auth/cloud-identity.devices" }, "https://www.googleapis.com/auth/cloud-identity.devices.lookup": { "description": "See your device details" }, "https://www.googleapis.com/auth/cloud-identity.devices.readonly": { "description": "Private Service: https://www.googleapis.com/auth/cloud-identity.devices.readonly" }, "https://www.googleapis.com/auth/cloud-identity.groups": { "description": "See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group" }, "https://www.googleapis.com/auth/cloud-identity.groups.readonly": { "description": "See any Cloud Identity Groups that you can access, including group members and their emails" }, "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." } } } }, "protocol": "rest", "canonicalName": "Cloud Identity", "documentationLink": "https://cloud.google.com/identity/" }