@maxim_mazurok/gapi.client.cloudidentity-v1 0.0.20221221 → 0.0.20230117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +722 -7
- package/package.json +1 -1
- package/readme.md +50 -0
- package/tests.ts +123 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudidentity.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230117
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -22,6 +22,13 @@ declare namespace gapi.client {
|
|
|
22
22
|
function load(name: "cloudidentity", version: "v1", callback: () => any): void;
|
|
23
23
|
|
|
24
24
|
namespace cloudidentity {
|
|
25
|
+
// tslint:disable-next-line:no-empty-interface
|
|
26
|
+
interface AddIdpCredentialOperationMetadata {
|
|
27
|
+
}
|
|
28
|
+
interface AddIdpCredentialRequest {
|
|
29
|
+
/** PEM encoded x509 certificate containing the public key for verifying IdP signatures. */
|
|
30
|
+
pemData?: string;
|
|
31
|
+
}
|
|
25
32
|
// tslint:disable-next-line:no-empty-interface
|
|
26
33
|
interface CancelUserInvitationRequest {
|
|
27
34
|
}
|
|
@@ -36,14 +43,33 @@ declare namespace gapi.client {
|
|
|
36
43
|
interface CreateGroupMetadata {
|
|
37
44
|
}
|
|
38
45
|
// tslint:disable-next-line:no-empty-interface
|
|
46
|
+
interface CreateInboundSamlSsoProfileOperationMetadata {
|
|
47
|
+
}
|
|
48
|
+
// tslint:disable-next-line:no-empty-interface
|
|
49
|
+
interface CreateInboundSsoAssignmentOperationMetadata {
|
|
50
|
+
}
|
|
51
|
+
// tslint:disable-next-line:no-empty-interface
|
|
39
52
|
interface CreateMembershipMetadata {
|
|
40
53
|
}
|
|
41
54
|
// tslint:disable-next-line:no-empty-interface
|
|
42
55
|
interface DeleteGroupMetadata {
|
|
43
56
|
}
|
|
44
57
|
// tslint:disable-next-line:no-empty-interface
|
|
58
|
+
interface DeleteIdpCredentialOperationMetadata {
|
|
59
|
+
}
|
|
60
|
+
// tslint:disable-next-line:no-empty-interface
|
|
61
|
+
interface DeleteInboundSamlSsoProfileOperationMetadata {
|
|
62
|
+
}
|
|
63
|
+
// tslint:disable-next-line:no-empty-interface
|
|
64
|
+
interface DeleteInboundSsoAssignmentOperationMetadata {
|
|
65
|
+
}
|
|
66
|
+
// tslint:disable-next-line:no-empty-interface
|
|
45
67
|
interface DeleteMembershipMetadata {
|
|
46
68
|
}
|
|
69
|
+
interface DsaPublicKeyInfo {
|
|
70
|
+
/** Key size in bits (size of parameter P). */
|
|
71
|
+
keySize?: number;
|
|
72
|
+
}
|
|
47
73
|
interface DynamicGroupMetadata {
|
|
48
74
|
/** Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups. */
|
|
49
75
|
queries?: DynamicGroupQuery[];
|
|
@@ -427,6 +453,55 @@ declare namespace gapi.client {
|
|
|
427
453
|
/** Membership roles of the member for the group. */
|
|
428
454
|
roles?: TransitiveMembershipRole[];
|
|
429
455
|
}
|
|
456
|
+
interface IdpCredential {
|
|
457
|
+
/** Output only. Information of a DSA public key. */
|
|
458
|
+
dsaKeyInfo?: DsaPublicKeyInfo;
|
|
459
|
+
/** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the credential. */
|
|
460
|
+
name?: string;
|
|
461
|
+
/** Output only. Information of a RSA public key. */
|
|
462
|
+
rsaKeyInfo?: RsaPublicKeyInfo;
|
|
463
|
+
/** Output only. Time when the `IdpCredential` was last updated. */
|
|
464
|
+
updateTime?: string;
|
|
465
|
+
}
|
|
466
|
+
interface InboundSamlSsoProfile {
|
|
467
|
+
/** Immutable. The customer. For example: `customers/C0123abc`. */
|
|
468
|
+
customer?: string;
|
|
469
|
+
/** Human-readable name of the SAML SSO profile. */
|
|
470
|
+
displayName?: string;
|
|
471
|
+
/** SAML identity provider configuration. */
|
|
472
|
+
idpConfig?: SamlIdpConfig;
|
|
473
|
+
/** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile. */
|
|
474
|
+
name?: string;
|
|
475
|
+
/**
|
|
476
|
+
* 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
|
|
477
|
+
* provider.
|
|
478
|
+
*/
|
|
479
|
+
spConfig?: SamlSpConfig;
|
|
480
|
+
}
|
|
481
|
+
interface InboundSsoAssignment {
|
|
482
|
+
/** Immutable. The customer. For example: `customers/C0123abc`. */
|
|
483
|
+
customer?: string;
|
|
484
|
+
/** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment. */
|
|
485
|
+
name?: string;
|
|
486
|
+
/**
|
|
487
|
+
* 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
|
|
488
|
+
* `target_group` set.
|
|
489
|
+
*/
|
|
490
|
+
rank?: number;
|
|
491
|
+
/** SAML SSO details. Must be set if and only if `sso_mode` is set to `SAML_SSO`. */
|
|
492
|
+
samlSsoInfo?: SamlSsoInfo;
|
|
493
|
+
/**
|
|
494
|
+
* 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
|
|
495
|
+
* recommended configuration.
|
|
496
|
+
*/
|
|
497
|
+
signInBehavior?: SignInBehavior;
|
|
498
|
+
/** Inbound SSO behavior. */
|
|
499
|
+
ssoMode?: string;
|
|
500
|
+
/** Immutable. Must be of the form `groups/{group}`. */
|
|
501
|
+
targetGroup?: string;
|
|
502
|
+
/** Immutable. Must be of the form `orgUnits/{org_unit}`. */
|
|
503
|
+
targetOrgUnit?: string;
|
|
504
|
+
}
|
|
430
505
|
interface IsInvitableUserResponse {
|
|
431
506
|
/** Returns true if the email address is invitable. */
|
|
432
507
|
isInvitableUser?: boolean;
|
|
@@ -437,6 +512,24 @@ declare namespace gapi.client {
|
|
|
437
512
|
/** Token to retrieve the next page of results, or empty if there are no more results available for listing. */
|
|
438
513
|
nextPageToken?: string;
|
|
439
514
|
}
|
|
515
|
+
interface ListIdpCredentialsResponse {
|
|
516
|
+
/** The IdpCredentials from the specified InboundSamlSsoProfile. */
|
|
517
|
+
idpCredentials?: IdpCredential[];
|
|
518
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
519
|
+
nextPageToken?: string;
|
|
520
|
+
}
|
|
521
|
+
interface ListInboundSamlSsoProfilesResponse {
|
|
522
|
+
/** List of InboundSamlSsoProfiles. */
|
|
523
|
+
inboundSamlSsoProfiles?: InboundSamlSsoProfile[];
|
|
524
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
525
|
+
nextPageToken?: string;
|
|
526
|
+
}
|
|
527
|
+
interface ListInboundSsoAssignmentsResponse {
|
|
528
|
+
/** The assignments. */
|
|
529
|
+
inboundSsoAssignments?: InboundSsoAssignment[];
|
|
530
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
531
|
+
nextPageToken?: string;
|
|
532
|
+
}
|
|
440
533
|
interface ListMembershipsResponse {
|
|
441
534
|
/** The `Membership`s under the specified `parent`. */
|
|
442
535
|
memberships?: Membership[];
|
|
@@ -567,6 +660,39 @@ declare namespace gapi.client {
|
|
|
567
660
|
/** Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. */
|
|
568
661
|
memberRestrictionEvaluation?: MembershipRoleRestrictionEvaluation;
|
|
569
662
|
}
|
|
663
|
+
interface RsaPublicKeyInfo {
|
|
664
|
+
/** Key size in bits (size of the modulus). */
|
|
665
|
+
keySize?: number;
|
|
666
|
+
}
|
|
667
|
+
interface SamlIdpConfig {
|
|
668
|
+
/**
|
|
669
|
+
* 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
|
|
670
|
+
* password URL configured at customer-level. Must use `HTTPS`.
|
|
671
|
+
*/
|
|
672
|
+
changePasswordUri?: string;
|
|
673
|
+
/** Required. The SAML **Entity ID** of the identity provider. */
|
|
674
|
+
entityId?: string;
|
|
675
|
+
/**
|
|
676
|
+
* 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
|
|
677
|
+
* redirect with no attached SAML `LogoutRequest` i.e. SAML single logout is currently not supported. Must use `HTTPS`.
|
|
678
|
+
*/
|
|
679
|
+
logoutRedirectUri?: string;
|
|
680
|
+
/**
|
|
681
|
+
* 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`. Currently
|
|
682
|
+
* assumed to accept the `HTTP-Redirect` binding.
|
|
683
|
+
*/
|
|
684
|
+
singleSignOnServiceUri?: string;
|
|
685
|
+
}
|
|
686
|
+
interface SamlSpConfig {
|
|
687
|
+
/** Output only. The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login. Currently assumed to accept response messages via the `HTTP-POST` binding. */
|
|
688
|
+
assertionConsumerServiceUri?: string;
|
|
689
|
+
/** Output only. The SAML **Entity ID** for this service provider. */
|
|
690
|
+
entityId?: string;
|
|
691
|
+
}
|
|
692
|
+
interface SamlSsoInfo {
|
|
693
|
+
/** Required. Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. */
|
|
694
|
+
inboundSamlSsoProfile?: string;
|
|
695
|
+
}
|
|
570
696
|
interface SearchGroupsResponse {
|
|
571
697
|
/** The `Group` resources that match the search query. */
|
|
572
698
|
groups?: Group[];
|
|
@@ -594,6 +720,10 @@ declare namespace gapi.client {
|
|
|
594
720
|
// tslint:disable-next-line:no-empty-interface
|
|
595
721
|
interface SendUserInvitationRequest {
|
|
596
722
|
}
|
|
723
|
+
interface SignInBehavior {
|
|
724
|
+
/** When to redirect sign-ins to the IdP. */
|
|
725
|
+
redirectCondition?: string;
|
|
726
|
+
}
|
|
597
727
|
interface Status {
|
|
598
728
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
599
729
|
code?: number;
|
|
@@ -613,6 +743,12 @@ declare namespace gapi.client {
|
|
|
613
743
|
interface UpdateGroupMetadata {
|
|
614
744
|
}
|
|
615
745
|
// tslint:disable-next-line:no-empty-interface
|
|
746
|
+
interface UpdateInboundSamlSsoProfileOperationMetadata {
|
|
747
|
+
}
|
|
748
|
+
// tslint:disable-next-line:no-empty-interface
|
|
749
|
+
interface UpdateInboundSsoAssignmentOperationMetadata {
|
|
750
|
+
}
|
|
751
|
+
// tslint:disable-next-line:no-empty-interface
|
|
616
752
|
interface UpdateMembershipMetadata {
|
|
617
753
|
}
|
|
618
754
|
interface UpdateMembershipRolesParams {
|
|
@@ -2561,11 +2697,590 @@ declare namespace gapi.client {
|
|
|
2561
2697
|
body: SecuritySettings): Request<Operation>;
|
|
2562
2698
|
memberships: MembershipsResource;
|
|
2563
2699
|
}
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2700
|
+
interface IdpCredentialsResource {
|
|
2701
|
+
/** Adds an IdpCredential. Up to 2 credentials are allowed. */
|
|
2702
|
+
add(request: {
|
|
2703
|
+
/** V1 error format. */
|
|
2704
|
+
"$.xgafv"?: string;
|
|
2705
|
+
/** OAuth access token. */
|
|
2706
|
+
access_token?: string;
|
|
2707
|
+
/** Data format for response. */
|
|
2708
|
+
alt?: string;
|
|
2709
|
+
/** JSONP */
|
|
2710
|
+
callback?: string;
|
|
2711
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2712
|
+
fields?: string;
|
|
2713
|
+
/** 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. */
|
|
2714
|
+
key?: string;
|
|
2715
|
+
/** OAuth 2.0 token for the current user. */
|
|
2716
|
+
oauth_token?: string;
|
|
2717
|
+
/** Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `inboundSamlSsoProfiles/{sso_profile_id}` */
|
|
2718
|
+
parent: string;
|
|
2719
|
+
/** Returns response with indentations and line breaks. */
|
|
2720
|
+
prettyPrint?: boolean;
|
|
2721
|
+
/** 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. */
|
|
2722
|
+
quotaUser?: string;
|
|
2723
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2724
|
+
upload_protocol?: string;
|
|
2725
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2726
|
+
uploadType?: string;
|
|
2727
|
+
/** Request body */
|
|
2728
|
+
resource: AddIdpCredentialRequest;
|
|
2729
|
+
}): Request<Operation>;
|
|
2730
|
+
add(request: {
|
|
2731
|
+
/** V1 error format. */
|
|
2732
|
+
"$.xgafv"?: string;
|
|
2733
|
+
/** OAuth access token. */
|
|
2734
|
+
access_token?: string;
|
|
2735
|
+
/** Data format for response. */
|
|
2736
|
+
alt?: string;
|
|
2737
|
+
/** JSONP */
|
|
2738
|
+
callback?: string;
|
|
2739
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2740
|
+
fields?: string;
|
|
2741
|
+
/** 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. */
|
|
2742
|
+
key?: string;
|
|
2743
|
+
/** OAuth 2.0 token for the current user. */
|
|
2744
|
+
oauth_token?: string;
|
|
2745
|
+
/** Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `inboundSamlSsoProfiles/{sso_profile_id}` */
|
|
2746
|
+
parent: string;
|
|
2747
|
+
/** Returns response with indentations and line breaks. */
|
|
2748
|
+
prettyPrint?: boolean;
|
|
2749
|
+
/** 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. */
|
|
2750
|
+
quotaUser?: string;
|
|
2751
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2752
|
+
upload_protocol?: string;
|
|
2753
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2754
|
+
uploadType?: string;
|
|
2755
|
+
},
|
|
2756
|
+
body: AddIdpCredentialRequest): Request<Operation>;
|
|
2757
|
+
/** Deletes an IdpCredential. */
|
|
2758
|
+
delete(request?: {
|
|
2759
|
+
/** V1 error format. */
|
|
2760
|
+
"$.xgafv"?: string;
|
|
2761
|
+
/** OAuth access token. */
|
|
2762
|
+
access_token?: string;
|
|
2763
|
+
/** Data format for response. */
|
|
2764
|
+
alt?: string;
|
|
2765
|
+
/** JSONP */
|
|
2766
|
+
callback?: string;
|
|
2767
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2768
|
+
fields?: string;
|
|
2769
|
+
/** 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. */
|
|
2770
|
+
key?: string;
|
|
2771
|
+
/**
|
|
2772
|
+
* Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to delete. Format:
|
|
2773
|
+
* `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`
|
|
2774
|
+
*/
|
|
2775
|
+
name: string;
|
|
2776
|
+
/** OAuth 2.0 token for the current user. */
|
|
2777
|
+
oauth_token?: string;
|
|
2778
|
+
/** Returns response with indentations and line breaks. */
|
|
2779
|
+
prettyPrint?: boolean;
|
|
2780
|
+
/** 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. */
|
|
2781
|
+
quotaUser?: string;
|
|
2782
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2783
|
+
upload_protocol?: string;
|
|
2784
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2785
|
+
uploadType?: string;
|
|
2786
|
+
}): Request<Operation>;
|
|
2787
|
+
/** Gets an IdpCredential. */
|
|
2788
|
+
get(request?: {
|
|
2789
|
+
/** V1 error format. */
|
|
2790
|
+
"$.xgafv"?: string;
|
|
2791
|
+
/** OAuth access token. */
|
|
2792
|
+
access_token?: string;
|
|
2793
|
+
/** Data format for response. */
|
|
2794
|
+
alt?: string;
|
|
2795
|
+
/** JSONP */
|
|
2796
|
+
callback?: string;
|
|
2797
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2798
|
+
fields?: string;
|
|
2799
|
+
/** 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. */
|
|
2800
|
+
key?: string;
|
|
2801
|
+
/**
|
|
2802
|
+
* Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to retrieve. Format:
|
|
2803
|
+
* `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`
|
|
2804
|
+
*/
|
|
2805
|
+
name: string;
|
|
2806
|
+
/** OAuth 2.0 token for the current user. */
|
|
2807
|
+
oauth_token?: string;
|
|
2808
|
+
/** Returns response with indentations and line breaks. */
|
|
2809
|
+
prettyPrint?: boolean;
|
|
2810
|
+
/** 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. */
|
|
2811
|
+
quotaUser?: string;
|
|
2812
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2813
|
+
upload_protocol?: string;
|
|
2814
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2815
|
+
uploadType?: string;
|
|
2816
|
+
}): Request<IdpCredential>;
|
|
2817
|
+
/** Returns a list of IdpCredentials in an InboundSamlSsoProfile. */
|
|
2818
|
+
list(request?: {
|
|
2819
|
+
/** V1 error format. */
|
|
2820
|
+
"$.xgafv"?: string;
|
|
2821
|
+
/** OAuth access token. */
|
|
2822
|
+
access_token?: string;
|
|
2823
|
+
/** Data format for response. */
|
|
2824
|
+
alt?: string;
|
|
2825
|
+
/** JSONP */
|
|
2826
|
+
callback?: string;
|
|
2827
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2828
|
+
fields?: string;
|
|
2829
|
+
/** 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. */
|
|
2830
|
+
key?: string;
|
|
2831
|
+
/** OAuth 2.0 token for the current user. */
|
|
2832
|
+
oauth_token?: string;
|
|
2833
|
+
/** The maximum number of `IdpCredential`s to return. The service may return fewer than this value. */
|
|
2834
|
+
pageSize?: number;
|
|
2835
|
+
/**
|
|
2836
|
+
* A page token, received from a previous `ListIdpCredentials` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
2837
|
+
* `ListIdpCredentials` must match the call that provided the page token.
|
|
2838
|
+
*/
|
|
2839
|
+
pageToken?: string;
|
|
2840
|
+
/** Required. The parent, which owns this collection of `IdpCredential`s. Format: `inboundSamlSsoProfiles/{sso_profile_id}` */
|
|
2841
|
+
parent: string;
|
|
2842
|
+
/** Returns response with indentations and line breaks. */
|
|
2843
|
+
prettyPrint?: boolean;
|
|
2844
|
+
/** 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. */
|
|
2845
|
+
quotaUser?: string;
|
|
2846
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2847
|
+
upload_protocol?: string;
|
|
2848
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2849
|
+
uploadType?: string;
|
|
2850
|
+
}): Request<ListIdpCredentialsResponse>;
|
|
2851
|
+
}
|
|
2852
|
+
interface InboundSamlSsoProfilesResource {
|
|
2853
|
+
/** Creates an InboundSamlSsoProfile for a customer. */
|
|
2854
|
+
create(request: {
|
|
2855
|
+
/** V1 error format. */
|
|
2856
|
+
"$.xgafv"?: string;
|
|
2857
|
+
/** OAuth access token. */
|
|
2858
|
+
access_token?: string;
|
|
2859
|
+
/** Data format for response. */
|
|
2860
|
+
alt?: string;
|
|
2861
|
+
/** JSONP */
|
|
2862
|
+
callback?: string;
|
|
2863
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2864
|
+
fields?: string;
|
|
2865
|
+
/** 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. */
|
|
2866
|
+
key?: string;
|
|
2867
|
+
/** OAuth 2.0 token for the current user. */
|
|
2868
|
+
oauth_token?: string;
|
|
2869
|
+
/** Returns response with indentations and line breaks. */
|
|
2870
|
+
prettyPrint?: boolean;
|
|
2871
|
+
/** 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. */
|
|
2872
|
+
quotaUser?: string;
|
|
2873
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2874
|
+
upload_protocol?: string;
|
|
2875
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2876
|
+
uploadType?: string;
|
|
2877
|
+
/** Request body */
|
|
2878
|
+
resource: InboundSamlSsoProfile;
|
|
2879
|
+
}): Request<Operation>;
|
|
2880
|
+
create(request: {
|
|
2881
|
+
/** V1 error format. */
|
|
2882
|
+
"$.xgafv"?: string;
|
|
2883
|
+
/** OAuth access token. */
|
|
2884
|
+
access_token?: string;
|
|
2885
|
+
/** Data format for response. */
|
|
2886
|
+
alt?: string;
|
|
2887
|
+
/** JSONP */
|
|
2888
|
+
callback?: string;
|
|
2889
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2890
|
+
fields?: string;
|
|
2891
|
+
/** 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. */
|
|
2892
|
+
key?: string;
|
|
2893
|
+
/** OAuth 2.0 token for the current user. */
|
|
2894
|
+
oauth_token?: string;
|
|
2895
|
+
/** Returns response with indentations and line breaks. */
|
|
2896
|
+
prettyPrint?: boolean;
|
|
2897
|
+
/** 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. */
|
|
2898
|
+
quotaUser?: string;
|
|
2899
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2900
|
+
upload_protocol?: string;
|
|
2901
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2902
|
+
uploadType?: string;
|
|
2903
|
+
},
|
|
2904
|
+
body: InboundSamlSsoProfile): Request<Operation>;
|
|
2905
|
+
/** Deletes an InboundSamlSsoProfile. */
|
|
2906
|
+
delete(request?: {
|
|
2907
|
+
/** V1 error format. */
|
|
2908
|
+
"$.xgafv"?: string;
|
|
2909
|
+
/** OAuth access token. */
|
|
2910
|
+
access_token?: string;
|
|
2911
|
+
/** Data format for response. */
|
|
2912
|
+
alt?: string;
|
|
2913
|
+
/** JSONP */
|
|
2914
|
+
callback?: string;
|
|
2915
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2916
|
+
fields?: string;
|
|
2917
|
+
/** 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. */
|
|
2918
|
+
key?: string;
|
|
2919
|
+
/** Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to delete. Format: `inboundSamlSsoProfiles/{sso_profile_id}` */
|
|
2920
|
+
name: string;
|
|
2921
|
+
/** OAuth 2.0 token for the current user. */
|
|
2922
|
+
oauth_token?: string;
|
|
2923
|
+
/** Returns response with indentations and line breaks. */
|
|
2924
|
+
prettyPrint?: boolean;
|
|
2925
|
+
/** 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. */
|
|
2926
|
+
quotaUser?: string;
|
|
2927
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2928
|
+
upload_protocol?: string;
|
|
2929
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2930
|
+
uploadType?: string;
|
|
2931
|
+
}): Request<Operation>;
|
|
2932
|
+
/** Gets an InboundSamlSsoProfile. */
|
|
2933
|
+
get(request?: {
|
|
2934
|
+
/** V1 error format. */
|
|
2935
|
+
"$.xgafv"?: string;
|
|
2936
|
+
/** OAuth access token. */
|
|
2937
|
+
access_token?: string;
|
|
2938
|
+
/** Data format for response. */
|
|
2939
|
+
alt?: string;
|
|
2940
|
+
/** JSONP */
|
|
2941
|
+
callback?: string;
|
|
2942
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2943
|
+
fields?: string;
|
|
2944
|
+
/** 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. */
|
|
2945
|
+
key?: string;
|
|
2946
|
+
/** Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to get. Format: `inboundSamlSsoProfiles/{sso_profile_id}` */
|
|
2947
|
+
name: string;
|
|
2948
|
+
/** OAuth 2.0 token for the current user. */
|
|
2949
|
+
oauth_token?: string;
|
|
2950
|
+
/** Returns response with indentations and line breaks. */
|
|
2951
|
+
prettyPrint?: boolean;
|
|
2952
|
+
/** 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. */
|
|
2953
|
+
quotaUser?: string;
|
|
2954
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2955
|
+
upload_protocol?: string;
|
|
2956
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2957
|
+
uploadType?: string;
|
|
2958
|
+
}): Request<InboundSamlSsoProfile>;
|
|
2959
|
+
/** Lists InboundSamlSsoProfiles for a customer. */
|
|
2960
|
+
list(request?: {
|
|
2961
|
+
/** V1 error format. */
|
|
2962
|
+
"$.xgafv"?: string;
|
|
2963
|
+
/** OAuth access token. */
|
|
2964
|
+
access_token?: string;
|
|
2965
|
+
/** Data format for response. */
|
|
2966
|
+
alt?: string;
|
|
2967
|
+
/** JSONP */
|
|
2968
|
+
callback?: string;
|
|
2969
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2970
|
+
fields?: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only currently-supported filter is filtering by customer. For example:
|
|
2973
|
+
* `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
|
|
2974
|
+
* (authenticated user) belongs to.
|
|
2975
|
+
*/
|
|
2976
|
+
filter?: string;
|
|
2977
|
+
/** 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. */
|
|
2978
|
+
key?: string;
|
|
2979
|
+
/** OAuth 2.0 token for the current user. */
|
|
2980
|
+
oauth_token?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* 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.
|
|
2983
|
+
* 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.
|
|
2984
|
+
*/
|
|
2985
|
+
pageSize?: number;
|
|
2986
|
+
/**
|
|
2987
|
+
* A page token, received from a previous `ListInboundSamlSsoProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
2988
|
+
* `ListInboundSamlSsoProfiles` must match the call that provided the page token.
|
|
2989
|
+
*/
|
|
2990
|
+
pageToken?: string;
|
|
2991
|
+
/** Returns response with indentations and line breaks. */
|
|
2992
|
+
prettyPrint?: boolean;
|
|
2993
|
+
/** 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. */
|
|
2994
|
+
quotaUser?: string;
|
|
2995
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2996
|
+
upload_protocol?: string;
|
|
2997
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2998
|
+
uploadType?: string;
|
|
2999
|
+
}): Request<ListInboundSamlSsoProfilesResponse>;
|
|
3000
|
+
/** Updates an InboundSamlSsoProfile. */
|
|
3001
|
+
patch(request: {
|
|
3002
|
+
/** V1 error format. */
|
|
3003
|
+
"$.xgafv"?: string;
|
|
3004
|
+
/** OAuth access token. */
|
|
3005
|
+
access_token?: string;
|
|
3006
|
+
/** Data format for response. */
|
|
3007
|
+
alt?: string;
|
|
3008
|
+
/** JSONP */
|
|
3009
|
+
callback?: string;
|
|
3010
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3011
|
+
fields?: string;
|
|
3012
|
+
/** 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. */
|
|
3013
|
+
key?: string;
|
|
3014
|
+
/** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile. */
|
|
3015
|
+
name: string;
|
|
3016
|
+
/** OAuth 2.0 token for the current user. */
|
|
3017
|
+
oauth_token?: string;
|
|
3018
|
+
/** Returns response with indentations and line breaks. */
|
|
3019
|
+
prettyPrint?: boolean;
|
|
3020
|
+
/** 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. */
|
|
3021
|
+
quotaUser?: string;
|
|
3022
|
+
/** Required. The list of fields to be updated. */
|
|
3023
|
+
updateMask?: string;
|
|
3024
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3025
|
+
upload_protocol?: string;
|
|
3026
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3027
|
+
uploadType?: string;
|
|
3028
|
+
/** Request body */
|
|
3029
|
+
resource: InboundSamlSsoProfile;
|
|
3030
|
+
}): Request<Operation>;
|
|
3031
|
+
patch(request: {
|
|
3032
|
+
/** V1 error format. */
|
|
3033
|
+
"$.xgafv"?: string;
|
|
3034
|
+
/** OAuth access token. */
|
|
3035
|
+
access_token?: string;
|
|
3036
|
+
/** Data format for response. */
|
|
3037
|
+
alt?: string;
|
|
3038
|
+
/** JSONP */
|
|
3039
|
+
callback?: string;
|
|
3040
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3041
|
+
fields?: string;
|
|
3042
|
+
/** 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. */
|
|
3043
|
+
key?: string;
|
|
3044
|
+
/** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile. */
|
|
3045
|
+
name: string;
|
|
3046
|
+
/** OAuth 2.0 token for the current user. */
|
|
3047
|
+
oauth_token?: string;
|
|
3048
|
+
/** Returns response with indentations and line breaks. */
|
|
3049
|
+
prettyPrint?: boolean;
|
|
3050
|
+
/** 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. */
|
|
3051
|
+
quotaUser?: string;
|
|
3052
|
+
/** Required. The list of fields to be updated. */
|
|
3053
|
+
updateMask?: string;
|
|
3054
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3055
|
+
upload_protocol?: string;
|
|
3056
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3057
|
+
uploadType?: string;
|
|
3058
|
+
},
|
|
3059
|
+
body: InboundSamlSsoProfile): Request<Operation>;
|
|
3060
|
+
idpCredentials: IdpCredentialsResource;
|
|
3061
|
+
}
|
|
3062
|
+
interface InboundSsoAssignmentsResource {
|
|
3063
|
+
/** Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`. */
|
|
3064
|
+
create(request: {
|
|
3065
|
+
/** V1 error format. */
|
|
3066
|
+
"$.xgafv"?: string;
|
|
3067
|
+
/** OAuth access token. */
|
|
3068
|
+
access_token?: string;
|
|
3069
|
+
/** Data format for response. */
|
|
3070
|
+
alt?: string;
|
|
3071
|
+
/** JSONP */
|
|
3072
|
+
callback?: string;
|
|
3073
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3074
|
+
fields?: string;
|
|
3075
|
+
/** 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. */
|
|
3076
|
+
key?: string;
|
|
3077
|
+
/** OAuth 2.0 token for the current user. */
|
|
3078
|
+
oauth_token?: string;
|
|
3079
|
+
/** Returns response with indentations and line breaks. */
|
|
3080
|
+
prettyPrint?: boolean;
|
|
3081
|
+
/** 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. */
|
|
3082
|
+
quotaUser?: string;
|
|
3083
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3084
|
+
upload_protocol?: string;
|
|
3085
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3086
|
+
uploadType?: string;
|
|
3087
|
+
/** Request body */
|
|
3088
|
+
resource: InboundSsoAssignment;
|
|
3089
|
+
}): Request<Operation>;
|
|
3090
|
+
create(request: {
|
|
3091
|
+
/** V1 error format. */
|
|
3092
|
+
"$.xgafv"?: string;
|
|
3093
|
+
/** OAuth access token. */
|
|
3094
|
+
access_token?: string;
|
|
3095
|
+
/** Data format for response. */
|
|
3096
|
+
alt?: string;
|
|
3097
|
+
/** JSONP */
|
|
3098
|
+
callback?: string;
|
|
3099
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3100
|
+
fields?: string;
|
|
3101
|
+
/** 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. */
|
|
3102
|
+
key?: string;
|
|
3103
|
+
/** OAuth 2.0 token for the current user. */
|
|
3104
|
+
oauth_token?: string;
|
|
3105
|
+
/** Returns response with indentations and line breaks. */
|
|
3106
|
+
prettyPrint?: boolean;
|
|
3107
|
+
/** 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. */
|
|
3108
|
+
quotaUser?: string;
|
|
3109
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3110
|
+
upload_protocol?: string;
|
|
3111
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3112
|
+
uploadType?: string;
|
|
3113
|
+
},
|
|
3114
|
+
body: InboundSsoAssignment): Request<Operation>;
|
|
3115
|
+
/** Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`. */
|
|
3116
|
+
delete(request?: {
|
|
3117
|
+
/** V1 error format. */
|
|
3118
|
+
"$.xgafv"?: string;
|
|
3119
|
+
/** OAuth access token. */
|
|
3120
|
+
access_token?: string;
|
|
3121
|
+
/** Data format for response. */
|
|
3122
|
+
alt?: string;
|
|
3123
|
+
/** JSONP */
|
|
3124
|
+
callback?: string;
|
|
3125
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3126
|
+
fields?: string;
|
|
3127
|
+
/** 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. */
|
|
3128
|
+
key?: string;
|
|
3129
|
+
/** Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to delete. Format: `inboundSsoAssignments/{assignment}` */
|
|
3130
|
+
name: string;
|
|
3131
|
+
/** OAuth 2.0 token for the current user. */
|
|
3132
|
+
oauth_token?: string;
|
|
3133
|
+
/** Returns response with indentations and line breaks. */
|
|
3134
|
+
prettyPrint?: boolean;
|
|
3135
|
+
/** 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. */
|
|
3136
|
+
quotaUser?: string;
|
|
3137
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3138
|
+
upload_protocol?: string;
|
|
3139
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3140
|
+
uploadType?: string;
|
|
3141
|
+
}): Request<Operation>;
|
|
3142
|
+
/** Gets an InboundSsoAssignment. */
|
|
3143
|
+
get(request?: {
|
|
3144
|
+
/** V1 error format. */
|
|
3145
|
+
"$.xgafv"?: string;
|
|
3146
|
+
/** OAuth access token. */
|
|
3147
|
+
access_token?: string;
|
|
3148
|
+
/** Data format for response. */
|
|
3149
|
+
alt?: string;
|
|
3150
|
+
/** JSONP */
|
|
3151
|
+
callback?: string;
|
|
3152
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3153
|
+
fields?: string;
|
|
3154
|
+
/** 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. */
|
|
3155
|
+
key?: string;
|
|
3156
|
+
/** Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to fetch. Format: `inboundSsoAssignments/{assignment}` */
|
|
3157
|
+
name: string;
|
|
3158
|
+
/** OAuth 2.0 token for the current user. */
|
|
3159
|
+
oauth_token?: string;
|
|
3160
|
+
/** Returns response with indentations and line breaks. */
|
|
3161
|
+
prettyPrint?: boolean;
|
|
3162
|
+
/** 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. */
|
|
3163
|
+
quotaUser?: string;
|
|
3164
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3165
|
+
upload_protocol?: string;
|
|
3166
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3167
|
+
uploadType?: string;
|
|
3168
|
+
}): Request<InboundSsoAssignment>;
|
|
3169
|
+
/** Lists the InboundSsoAssignments for a `Customer`. */
|
|
3170
|
+
list(request?: {
|
|
3171
|
+
/** V1 error format. */
|
|
3172
|
+
"$.xgafv"?: string;
|
|
3173
|
+
/** OAuth access token. */
|
|
3174
|
+
access_token?: string;
|
|
3175
|
+
/** Data format for response. */
|
|
3176
|
+
alt?: string;
|
|
3177
|
+
/** JSONP */
|
|
3178
|
+
callback?: string;
|
|
3179
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3180
|
+
fields?: string;
|
|
3181
|
+
/**
|
|
3182
|
+
* A CEL expression to filter the results. The only currently-supported filter is filtering by customer. For example: `customer==customers/C0123abc`. Omitting the filter or
|
|
3183
|
+
* specifying a filter of `customer==customers/my_customer` will return the assignments for the customer that the caller (authenticated user) belongs to.
|
|
3184
|
+
*/
|
|
3185
|
+
filter?: string;
|
|
3186
|
+
/** 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. */
|
|
3187
|
+
key?: string;
|
|
3188
|
+
/** OAuth 2.0 token for the current user. */
|
|
3189
|
+
oauth_token?: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* 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
|
|
3192
|
+
* 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
|
|
3193
|
+
* increase in the futue.
|
|
3194
|
+
*/
|
|
3195
|
+
pageSize?: number;
|
|
3196
|
+
/**
|
|
3197
|
+
* A page token, received from a previous `ListInboundSsoAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
3198
|
+
* `ListInboundSsoAssignments` must match the call that provided the page token.
|
|
3199
|
+
*/
|
|
3200
|
+
pageToken?: string;
|
|
3201
|
+
/** Returns response with indentations and line breaks. */
|
|
3202
|
+
prettyPrint?: boolean;
|
|
3203
|
+
/** 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. */
|
|
3204
|
+
quotaUser?: string;
|
|
3205
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3206
|
+
upload_protocol?: string;
|
|
3207
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3208
|
+
uploadType?: string;
|
|
3209
|
+
}): Request<ListInboundSsoAssignmentsResponse>;
|
|
3210
|
+
/**
|
|
3211
|
+
* 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
|
|
3212
|
+
* `/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
|
|
3213
|
+
* any other group-targeted assignments down in priority.
|
|
3214
|
+
*/
|
|
3215
|
+
patch(request: {
|
|
3216
|
+
/** V1 error format. */
|
|
3217
|
+
"$.xgafv"?: string;
|
|
3218
|
+
/** OAuth access token. */
|
|
3219
|
+
access_token?: string;
|
|
3220
|
+
/** Data format for response. */
|
|
3221
|
+
alt?: string;
|
|
3222
|
+
/** JSONP */
|
|
3223
|
+
callback?: string;
|
|
3224
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3225
|
+
fields?: string;
|
|
3226
|
+
/** 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. */
|
|
3227
|
+
key?: string;
|
|
3228
|
+
/** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment. */
|
|
3229
|
+
name: string;
|
|
3230
|
+
/** OAuth 2.0 token for the current user. */
|
|
3231
|
+
oauth_token?: string;
|
|
3232
|
+
/** Returns response with indentations and line breaks. */
|
|
3233
|
+
prettyPrint?: boolean;
|
|
3234
|
+
/** 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. */
|
|
3235
|
+
quotaUser?: string;
|
|
3236
|
+
/** Required. The list of fields to be updated. */
|
|
3237
|
+
updateMask?: string;
|
|
3238
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3239
|
+
upload_protocol?: string;
|
|
3240
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3241
|
+
uploadType?: string;
|
|
3242
|
+
/** Request body */
|
|
3243
|
+
resource: InboundSsoAssignment;
|
|
3244
|
+
}): Request<Operation>;
|
|
3245
|
+
patch(request: {
|
|
3246
|
+
/** V1 error format. */
|
|
3247
|
+
"$.xgafv"?: string;
|
|
3248
|
+
/** OAuth access token. */
|
|
3249
|
+
access_token?: string;
|
|
3250
|
+
/** Data format for response. */
|
|
3251
|
+
alt?: string;
|
|
3252
|
+
/** JSONP */
|
|
3253
|
+
callback?: string;
|
|
3254
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3255
|
+
fields?: string;
|
|
3256
|
+
/** 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. */
|
|
3257
|
+
key?: string;
|
|
3258
|
+
/** Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment. */
|
|
3259
|
+
name: string;
|
|
3260
|
+
/** OAuth 2.0 token for the current user. */
|
|
3261
|
+
oauth_token?: string;
|
|
3262
|
+
/** Returns response with indentations and line breaks. */
|
|
3263
|
+
prettyPrint?: boolean;
|
|
3264
|
+
/** 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. */
|
|
3265
|
+
quotaUser?: string;
|
|
3266
|
+
/** Required. The list of fields to be updated. */
|
|
3267
|
+
updateMask?: string;
|
|
3268
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3269
|
+
upload_protocol?: string;
|
|
3270
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3271
|
+
uploadType?: string;
|
|
3272
|
+
},
|
|
3273
|
+
body: InboundSsoAssignment): Request<Operation>;
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
const customers: CustomersResource;
|
|
3277
|
+
|
|
3278
|
+
const devices: DevicesResource;
|
|
3279
|
+
|
|
3280
|
+
const groups: GroupsResource;
|
|
3281
|
+
|
|
3282
|
+
const inboundSamlSsoProfiles: InboundSamlSsoProfilesResource;
|
|
3283
|
+
|
|
3284
|
+
const inboundSsoAssignments: InboundSsoAssignmentsResource;
|
|
2570
3285
|
}
|
|
2571
3286
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -155,4 +155,54 @@ await gapi.client.cloudidentity.groups.search({ });
|
|
|
155
155
|
Update Security Settings
|
|
156
156
|
*/
|
|
157
157
|
await gapi.client.cloudidentity.groups.updateSecuritySettings({ name: "name", });
|
|
158
|
+
|
|
159
|
+
/*
|
|
160
|
+
Creates an InboundSamlSsoProfile for a customer.
|
|
161
|
+
*/
|
|
162
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.create({ });
|
|
163
|
+
|
|
164
|
+
/*
|
|
165
|
+
Deletes an InboundSamlSsoProfile.
|
|
166
|
+
*/
|
|
167
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.delete({ name: "name", });
|
|
168
|
+
|
|
169
|
+
/*
|
|
170
|
+
Gets an InboundSamlSsoProfile.
|
|
171
|
+
*/
|
|
172
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.get({ name: "name", });
|
|
173
|
+
|
|
174
|
+
/*
|
|
175
|
+
Lists InboundSamlSsoProfiles for a customer.
|
|
176
|
+
*/
|
|
177
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.list({ });
|
|
178
|
+
|
|
179
|
+
/*
|
|
180
|
+
Updates an InboundSamlSsoProfile.
|
|
181
|
+
*/
|
|
182
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.patch({ name: "name", });
|
|
183
|
+
|
|
184
|
+
/*
|
|
185
|
+
Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`.
|
|
186
|
+
*/
|
|
187
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.create({ });
|
|
188
|
+
|
|
189
|
+
/*
|
|
190
|
+
Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`.
|
|
191
|
+
*/
|
|
192
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.delete({ name: "name", });
|
|
193
|
+
|
|
194
|
+
/*
|
|
195
|
+
Gets an InboundSsoAssignment.
|
|
196
|
+
*/
|
|
197
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.get({ name: "name", });
|
|
198
|
+
|
|
199
|
+
/*
|
|
200
|
+
Lists the InboundSsoAssignments for a `Customer`.
|
|
201
|
+
*/
|
|
202
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.list({ });
|
|
203
|
+
|
|
204
|
+
/*
|
|
205
|
+
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.
|
|
206
|
+
*/
|
|
207
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.patch({ name: "name", });
|
|
158
208
|
```
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230117
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -496,5 +496,127 @@ gapi.load('client', async () => {
|
|
|
496
496
|
pageToken: "Test string",
|
|
497
497
|
parent: "Test string",
|
|
498
498
|
});
|
|
499
|
+
/** Creates an InboundSamlSsoProfile for a customer. */
|
|
500
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.create({
|
|
501
|
+
}, {
|
|
502
|
+
customer: "Test string",
|
|
503
|
+
displayName: "Test string",
|
|
504
|
+
idpConfig: {
|
|
505
|
+
changePasswordUri: "Test string",
|
|
506
|
+
entityId: "Test string",
|
|
507
|
+
logoutRedirectUri: "Test string",
|
|
508
|
+
singleSignOnServiceUri: "Test string",
|
|
509
|
+
},
|
|
510
|
+
name: "Test string",
|
|
511
|
+
spConfig: {
|
|
512
|
+
assertionConsumerServiceUri: "Test string",
|
|
513
|
+
entityId: "Test string",
|
|
514
|
+
},
|
|
515
|
+
});
|
|
516
|
+
/** Deletes an InboundSamlSsoProfile. */
|
|
517
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.delete({
|
|
518
|
+
name: "Test string",
|
|
519
|
+
});
|
|
520
|
+
/** Gets an InboundSamlSsoProfile. */
|
|
521
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.get({
|
|
522
|
+
name: "Test string",
|
|
523
|
+
});
|
|
524
|
+
/** Lists InboundSamlSsoProfiles for a customer. */
|
|
525
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.list({
|
|
526
|
+
filter: "Test string",
|
|
527
|
+
pageSize: 42,
|
|
528
|
+
pageToken: "Test string",
|
|
529
|
+
});
|
|
530
|
+
/** Updates an InboundSamlSsoProfile. */
|
|
531
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.patch({
|
|
532
|
+
name: "Test string",
|
|
533
|
+
updateMask: "Test string",
|
|
534
|
+
}, {
|
|
535
|
+
customer: "Test string",
|
|
536
|
+
displayName: "Test string",
|
|
537
|
+
idpConfig: {
|
|
538
|
+
changePasswordUri: "Test string",
|
|
539
|
+
entityId: "Test string",
|
|
540
|
+
logoutRedirectUri: "Test string",
|
|
541
|
+
singleSignOnServiceUri: "Test string",
|
|
542
|
+
},
|
|
543
|
+
name: "Test string",
|
|
544
|
+
spConfig: {
|
|
545
|
+
assertionConsumerServiceUri: "Test string",
|
|
546
|
+
entityId: "Test string",
|
|
547
|
+
},
|
|
548
|
+
});
|
|
549
|
+
/** Adds an IdpCredential. Up to 2 credentials are allowed. */
|
|
550
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.idpCredentials.add({
|
|
551
|
+
parent: "Test string",
|
|
552
|
+
}, {
|
|
553
|
+
pemData: "Test string",
|
|
554
|
+
});
|
|
555
|
+
/** Deletes an IdpCredential. */
|
|
556
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.idpCredentials.delete({
|
|
557
|
+
name: "Test string",
|
|
558
|
+
});
|
|
559
|
+
/** Gets an IdpCredential. */
|
|
560
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.idpCredentials.get({
|
|
561
|
+
name: "Test string",
|
|
562
|
+
});
|
|
563
|
+
/** Returns a list of IdpCredentials in an InboundSamlSsoProfile. */
|
|
564
|
+
await gapi.client.cloudidentity.inboundSamlSsoProfiles.idpCredentials.list({
|
|
565
|
+
pageSize: 42,
|
|
566
|
+
pageToken: "Test string",
|
|
567
|
+
parent: "Test string",
|
|
568
|
+
});
|
|
569
|
+
/** Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`. */
|
|
570
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.create({
|
|
571
|
+
}, {
|
|
572
|
+
customer: "Test string",
|
|
573
|
+
name: "Test string",
|
|
574
|
+
rank: 42,
|
|
575
|
+
samlSsoInfo: {
|
|
576
|
+
inboundSamlSsoProfile: "Test string",
|
|
577
|
+
},
|
|
578
|
+
signInBehavior: {
|
|
579
|
+
redirectCondition: "Test string",
|
|
580
|
+
},
|
|
581
|
+
ssoMode: "Test string",
|
|
582
|
+
targetGroup: "Test string",
|
|
583
|
+
targetOrgUnit: "Test string",
|
|
584
|
+
});
|
|
585
|
+
/** Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`. */
|
|
586
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.delete({
|
|
587
|
+
name: "Test string",
|
|
588
|
+
});
|
|
589
|
+
/** Gets an InboundSsoAssignment. */
|
|
590
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.get({
|
|
591
|
+
name: "Test string",
|
|
592
|
+
});
|
|
593
|
+
/** Lists the InboundSsoAssignments for a `Customer`. */
|
|
594
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.list({
|
|
595
|
+
filter: "Test string",
|
|
596
|
+
pageSize: 42,
|
|
597
|
+
pageToken: "Test string",
|
|
598
|
+
});
|
|
599
|
+
/**
|
|
600
|
+
* 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
|
|
601
|
+
* `/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
|
|
602
|
+
* other group-targeted assignments down in priority.
|
|
603
|
+
*/
|
|
604
|
+
await gapi.client.cloudidentity.inboundSsoAssignments.patch({
|
|
605
|
+
name: "Test string",
|
|
606
|
+
updateMask: "Test string",
|
|
607
|
+
}, {
|
|
608
|
+
customer: "Test string",
|
|
609
|
+
name: "Test string",
|
|
610
|
+
rank: 42,
|
|
611
|
+
samlSsoInfo: {
|
|
612
|
+
inboundSamlSsoProfile: "Test string",
|
|
613
|
+
},
|
|
614
|
+
signInBehavior: {
|
|
615
|
+
redirectCondition: "Test string",
|
|
616
|
+
},
|
|
617
|
+
ssoMode: "Test string",
|
|
618
|
+
targetGroup: "Test string",
|
|
619
|
+
targetOrgUnit: "Test string",
|
|
620
|
+
});
|
|
499
621
|
}
|
|
500
622
|
});
|