Class LocationsResource.WorkforcePoolsResource.SubjectsResource
The "subjects" collection of methods.
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class LocationsResource.WorkforcePoolsResource.SubjectsResource
Constructors
SubjectsResource(IClientService)
Constructs a new resource.
Declaration
public SubjectsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Operations
Gets the Operations resource.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.SubjectsResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
LocationsResource.WorkforcePoolsResource.SubjectsResource.OperationsResource |
Methods
Delete(string)
Deletes a WorkforcePoolSubject. Subject must not already be in a deleted state. A
WorkforcePoolSubject is automatically created the first time an external credential is exchanged for
a Google Cloud credential with a mapped google.subject
attribute. There is no path to manually
create WorkforcePoolSubjects. Once deleted, the WorkforcePoolSubject may not be used for 30 days.
After 30 days, the WorkforcePoolSubject will be deleted forever and can be reused in token exchanges
with Google Cloud STS. This will automatically create a new WorkforcePoolSubject that is independent
of the previously deleted WorkforcePoolSubject with the same google.subject value.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.SubjectsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the WorkforcePoolSubject. Special characters, like '/' and ':', must
be escaped, because all URLs need to conform to the "When to Escape and Unescape" section of
RFC3986. Format:
|
Returns
Type | Description |
---|---|
LocationsResource.WorkforcePoolsResource.SubjectsResource.DeleteRequest |
Undelete(UndeleteWorkforcePoolSubjectRequest, string)
Undeletes a WorkforcePoolSubject, as long as it was deleted fewer than 30 days ago.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.SubjectsResource.UndeleteRequest Undelete(UndeleteWorkforcePoolSubjectRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
UndeleteWorkforcePoolSubjectRequest | body | The body of the request. |
string | name | Required. The resource name of the WorkforcePoolSubject. Special characters, like '/' and ':', must
be escaped, because all URLs need to conform to the "When to Escape and Unescape" section of
RFC3986. Format:
|
Returns
Type | Description |
---|---|
LocationsResource.WorkforcePoolsResource.SubjectsResource.UndeleteRequest |