/// <summary> /// Gets the access control policy for a resource. Returns an empty policy /// if the resource exists and does not have a policy set. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// The RPC response. /// </returns> public override iam::Policy GetIamPolicy( iam::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetIamPolicyRequest(ref request, ref callSettings); return(_callGetIamPolicy.Sync(request, callSettings)); }
/// <summary> /// Gets the access control policy for a resource. Returns an empty policy /// if the resource exists and does not have a policy set. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// A Task containing the RPC response. /// </returns> public override stt::Task <iam::Policy> GetIamPolicyAsync( iam::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetIamPolicyRequest(ref request, ref callSettings); return(_callGetIamPolicy.Async(request, callSettings)); }
partial void Modify_GetIamPolicyRequest(ref iam::GetIamPolicyRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Gets the access control policy for a resource. Returns an empty policy /// if the resource exists and does not have a policy set. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// The RPC response. /// </returns> public virtual iam::Policy GetIamPolicy( iam::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); }
/// <summary> /// Gets the access control policy for a resource. Returns an empty policy /// if the resource exists and does not have a policy set. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="cancellationToken"> /// A <see cref="st::CancellationToken"/> to use for this RPC. /// </param> /// <returns> /// A Task containing the RPC response. /// </returns> public virtual stt::Task <iam::Policy> GetIamPolicyAsync( iam::GetIamPolicyRequest request, st::CancellationToken cancellationToken) => GetIamPolicyAsync( request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Gets the access control policy for a resource. Returns an empty policy /// if the resource exists and does not have a policy set. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// A Task containing the RPC response. /// </returns> public virtual stt::Task <iam::Policy> GetIamPolicyAsync( iam::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); }