Class ProjectsResource.LocationsResource.FederationsResource
The "federations" collection of methods.
Inherited Members
Namespace: Google.Apis.DataprocMetastore.v1beta
Assembly: Google.Apis.DataprocMetastore.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.FederationsResource
Constructors
FederationsResource(IClientService)
Constructs a new resource.
Declaration
public FederationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Federation, string)
Creates a metastore federation in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.CreateRequest Create(Federation body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Federation | body | The body of the request. |
| string | parent | Required. The relative resource name of the location in which to create a federation service, in the following form:projects/{project_number}/locations/{location_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.CreateRequest |
Delete(string)
Deletes a single federation.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The relative resource name of the metastore federation to delete, in the following form:projects/{project_number}/locations/{location_id}/federations/{federation_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.DeleteRequest |
Get(string)
Gets the details of a single federation.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The relative resource name of the metastore federation to retrieve, in the following form:projects/{project_number}/locations/{location_id}/federations/{federation_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.GetIamPolicyRequest |
List(string)
Lists federations in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The relative resource name of the location of metastore federations to list, in the following form: projects/{project_number}/locations/{location_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.ListRequest |
Patch(Federation, string)
Updates the fields of a federation.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.PatchRequest Patch(Federation body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Federation | body | The body of the request. |
| string | name | Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.PatchRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| SetIamPolicyRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
Declaration
public virtual ProjectsResource.LocationsResource.FederationsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestIamPermissionsRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.FederationsResource.TestIamPermissionsRequest |